-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
30 lines (30 loc) · 906 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = {
root: true,
ignorePatterns: ['projects/**/*'],
overrides: [
{
files: ['*.ts'],
env: {
browser: true,
es6: true,
node: true
},
parserOptions: {
project: ['tsconfig.json'],
sourceType: 'module'
},
extends: ['plugin:@angular-eslint/recommended', 'plugin:@angular-eslint/template/process-inline-templates'],
rules: {
'@angular-eslint/component-selector': ['error', { type: 'element', style: 'kebab-case' }],
'@angular-eslint/component-class-suffix': ['error', { suffixes: ['Page', 'Component'] }],
'@angular-eslint/directive-selector': ['error', { type: 'attribute', style: 'camelCase' }],
'@angular-eslint/no-output-native': 0
}
},
{
files: ['*.html'],
extends: ['plugin:@angular-eslint/template/recommended'],
rules: {}
}
]
};