mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"extends": ["../../.eslintrc.js"],
|
|
"ignorePatterns": ["!**/*", "dist", "node_modules"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts"],
|
|
"extends": ["plugin:@nx/angular"],
|
|
"parserOptions": {
|
|
"project": ["lib/cli/tsconfig.json"],
|
|
"createDefaultProgram": true
|
|
},
|
|
"rules": {
|
|
"prefer-arrow/prefer-arrow-functions": "off",
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
"@typescript-eslint/naming-convention": "warn",
|
|
"quote-props": "off",
|
|
"no-shadow": "warn",
|
|
"no-restricted-syntax": "off",
|
|
"no-underscore-dangle": "off",
|
|
"@typescript-eslint/consistent-type-assertions": "warn",
|
|
"@typescript-eslint/prefer-for-of": "off",
|
|
"@typescript-eslint/consistent-type-definitions": "error",
|
|
"@typescript-eslint/dot-notation": "off",
|
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
"@typescript-eslint/no-require-imports": "off",
|
|
"default-case": "error",
|
|
"import/order": "off",
|
|
"max-len": [
|
|
"error",
|
|
{
|
|
"code": 240
|
|
}
|
|
],
|
|
"no-duplicate-imports": "error",
|
|
"no-multiple-empty-lines": "error",
|
|
"no-redeclare": "error",
|
|
"no-return-await": "error",
|
|
"no-console": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.html"],
|
|
"parserOptions": {
|
|
"project": ["lib/cli/tsconfig.json"],
|
|
"createDefaultProgram": true
|
|
},
|
|
"extends": ["plugin:@nx/angular-template"],
|
|
"rules": {}
|
|
}
|
|
]
|
|
}
|