.eslintrc.json
{
"ignorePatterns": [
"!**/*",
"**/test.ts",
"**/main.ts"
],
"env": {
"jest": true,
"browser": true
},
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"projects/ng-simple-state/tsconfig.lib.json",
"projects/ng-simple-state/tsconfig.spec.json",
"projects/ng-simple-state-demo/tsconfig.app.json",
"projects/ng-simple-state-demo/tsconfig.spec.json"
],
"createDefaultProgram": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@typescript-eslint/no-inferrable-types": "off",
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "ng",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "ng",
"style": "kebab-case"
}
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}