Created
March 11, 2022 12:47
-
-
Save umutyerebakmaz/93eae6864097b7c0f1f4fdc86acc9aec to your computer and use it in GitHub Desktop.
for angular
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"root": true, | |
"ignorePatterns": [ | |
"projects/**/*" | |
], | |
"overrides": [ | |
{ | |
"files": [ | |
"*.ts" | |
], | |
"parserOptions": { | |
"project": [ | |
"tsconfig.json", | |
"e2e/tsconfig.json" | |
], | |
"createDefaultProgram": true | |
}, | |
"extends": [ | |
"eslint:recommended", | |
"standart", | |
"prettier", | |
"plugin:@typescript-eslint/recommended", | |
"plugin:@angular-eslint/recommended", | |
"plugin:@angular-eslint/template/process-inline-templates", | |
"plugin:prettier/recommended" | |
], | |
"plugins": [ | |
"@typescript-eslint" | |
], | |
"rules": { | |
"@angular-eslint/component-selector": [ | |
"error", | |
{ | |
"prefix": "", | |
"style": "kebab-case", | |
"type": "element" | |
} | |
], | |
"@angular-eslint/directive-selector": [ | |
"error", | |
{ | |
"prefix": "", | |
"style": "camelCase", | |
"type": "attribute" | |
} | |
] | |
} | |
}, | |
{ | |
"files": [ | |
"*.html" | |
], | |
"extends": [ | |
"plugin:@angular-eslint/template/recommended" | |
], | |
"rules": { | |
"sort-imports": [ | |
"off", | |
{ | |
"ignoreCase": false, | |
"ignoreDeclarationSort": false, | |
"ignoreMemberSort": false, | |
"memberSyntaxSortOrder": [ | |
"none", | |
"all", | |
"multiple", | |
"single" | |
], | |
"allowSeparatedGroups": false | |
} | |
], | |
"no-empty-function": "off", | |
"no-unused-vars": "off", | |
"no-empty": "off", | |
"no-console": "off", | |
"no-prototype-builtins": "off", | |
"no-useless-constructor": "off", | |
"@typescript-eslint/ban-types": "warn", | |
"@typescript-eslint/no-unused-vars": "off", | |
"@typescript-eslint/no-use-before-define": "off", | |
"@typescript-eslint/no-namespace": "off", | |
"@typescript-eslint/no-empty-interface": "off", | |
"@typescript-eslint/no-empty-function": "off", | |
"@typescript-eslint/no-var-requires": "off", | |
"@typescript-eslint/no-explicit-any": "off", | |
"@typescript-eslint/no-non-null-assertion": "off", | |
"@typescript-eslint/explicit-function-return-type": "off", | |
"@typescript-eslint/explicit-module-boundary-types": "off", | |
"@typescript-eslint/ban-ts-ignore": "off", | |
"@typescript-eslint/return-await": "error", | |
"@typescript-eslint/naming-convention": "off", | |
"@typescript-eslint/no-floating-promises": "error", | |
"no-eval": "off", | |
"no-use-before-define": "off" | |
} | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tabWidth": 4, | |
"useTabs": false, | |
"trailingComma": "es5", | |
"printWidth": 120, | |
"singleQuote": true, | |
"arrowParens": "avoid", | |
"overrides": [ | |
{ | |
"files": "*.flow.js", | |
"options": { | |
"parser": "flow" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment