117 lines
3.1 KiB
JSON
117 lines
3.1 KiB
JSON
{
|
|
"extends": [
|
|
"../../.eslintrc.json"
|
|
],
|
|
"ignorePatterns": [
|
|
"!**/*"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.ts"
|
|
],
|
|
"extends": [
|
|
"plugin:@nrwl/nx/angular",
|
|
"plugin:@angular-eslint/template/process-inline-templates",
|
|
"plugin:@angular-eslint/recommended",
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
"plugin:@angular-eslint/recommended--extra"
|
|
],
|
|
"parserOptions": {
|
|
"project": [
|
|
"libs/common-ui/tsconfig.*?.json"
|
|
]
|
|
},
|
|
"rules": {
|
|
"@angular-eslint/directive-selector": [
|
|
"error",
|
|
{
|
|
"type": "attribute",
|
|
"prefix": "iqser",
|
|
"style": "camelCase"
|
|
}
|
|
],
|
|
"@angular-eslint/component-selector": [
|
|
"error",
|
|
{
|
|
"type": "element",
|
|
"prefix": "iqser",
|
|
"style": "kebab-case"
|
|
}
|
|
],
|
|
"@angular-eslint/prefer-on-push-component-change-detection": "error",
|
|
"@angular-eslint/use-lifecycle-interface": "error",
|
|
"@angular-eslint/no-input-prefix": "error",
|
|
"@angular-eslint/no-input-rename": "error",
|
|
"@angular-eslint/no-output-on-prefix": "error",
|
|
"@angular-eslint/no-output-rename": "error",
|
|
"@angular-eslint/prefer-output-readonly": "error",
|
|
"@typescript-eslint/unbound-method": "error",
|
|
"@typescript-eslint/no-floating-promises": "off",
|
|
"@typescript-eslint/lines-between-class-members": "off",
|
|
"@typescript-eslint/naming-convention": [
|
|
"error",
|
|
{
|
|
"selector": "memberLike",
|
|
"modifiers": [
|
|
"private"
|
|
],
|
|
"format": [
|
|
"camelCase"
|
|
],
|
|
"leadingUnderscore": "require"
|
|
},
|
|
{
|
|
"selector": "memberLike",
|
|
"modifiers": [
|
|
"protected"
|
|
],
|
|
"format": [
|
|
"camelCase"
|
|
],
|
|
"leadingUnderscore": "require"
|
|
},
|
|
{
|
|
"selector": "memberLike",
|
|
"modifiers": [
|
|
"private"
|
|
],
|
|
"format": [
|
|
"UPPER_CASE",
|
|
"camelCase"
|
|
],
|
|
"leadingUnderscore": "require"
|
|
}
|
|
],
|
|
"import/prefer-default-export": "off",
|
|
"no-underscore-dangle": "off",
|
|
"no-param-reassign": "error",
|
|
"consistent-return": "off",
|
|
"class-methods-use-this": "off",
|
|
"@typescript-eslint/no-unsafe-call": "off",
|
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
"@typescript-eslint/restrict-template-expressions": "off"
|
|
},
|
|
"plugins": [
|
|
"@angular-eslint/eslint-plugin",
|
|
"@typescript-eslint"
|
|
]
|
|
},
|
|
{
|
|
"files": [
|
|
"*.html"
|
|
],
|
|
"extends": [
|
|
"plugin:@nrwl/nx/angular-template",
|
|
"plugin:@angular-eslint/template/recommended"
|
|
],
|
|
"plugins": [
|
|
"prettier"
|
|
],
|
|
"rules": {}
|
|
}
|
|
]
|
|
}
|