luthor/otis/.eslintrc.json

76 lines
1.6 KiB
JSON
Raw Permalink Normal View History

2021-01-05 07:32:52 +00:00
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
2021-01-26 04:08:59 +00:00
"plugin:@angular-eslint/recommended",
2022-04-17 07:30:18 +00:00
"plugin:@angular-eslint/template/process-inline-templates",
"plugin:@angular-eslint/recommended--extra"
2021-01-05 07:32:52 +00:00
],
2021-01-26 04:08:59 +00:00
"plugins": [
"import"
],
2021-01-05 07:32:52 +00:00
"rules": {
2021-01-26 04:08:59 +00:00
"@angular-eslint/directive-selector": [
2021-01-05 07:32:52 +00:00
"error",
{
2021-01-26 04:08:59 +00:00
"type": "attribute",
2021-01-05 07:32:52 +00:00
"prefix": "app",
2021-01-26 04:08:59 +00:00
"style": "camelCase"
2021-01-05 07:32:52 +00:00
}
],
2021-01-26 04:08:59 +00:00
"@angular-eslint/component-selector": [
2021-01-05 07:32:52 +00:00
"error",
{
2021-01-26 04:08:59 +00:00
"type": "element",
2021-01-05 07:32:52 +00:00
"prefix": "app",
2021-01-26 04:08:59 +00:00
"style": "kebab-case"
2021-01-05 07:32:52 +00:00
}
],
"@typescript-eslint/lines-between-class-members": [
"error",
"always",
{
"exceptAfterSingleLine": true
}
],
"import/order": [
"error",
{
2022-04-17 07:30:18 +00:00
"alphabetize": {
"order": "asc",
"caseInsensitive": true
},
2021-01-05 07:32:52 +00:00
"newlines-between": "always"
}
],
"@typescript-eslint/no-explicit-any": [
"error"
2021-01-26 04:08:59 +00:00
]
2021-01-05 07:32:52 +00:00
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}