-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy path.eslintrc.js
More file actions
30 lines (30 loc) · 850 Bytes
/
.eslintrc.js
File metadata and controls
30 lines (30 loc) · 850 Bytes
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,
parserOptions: {
project: ['tsconfig.json'],
createDefaultProgram: true,
},
ignorePatterns: ['dist', 'coverage'],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:@angular-eslint/recommended',
// This is required if you use inline templates in Components
'plugin:@angular-eslint/template/process-inline-templates',
],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'no-console': 'error',
'@angular-eslint/prefer-standalone': 'off',
'@angular-eslint/prefer-inject': 'off',
},
overrides: [
{
files: ['*.spec.ts'],
rules: {
'@angular-eslint/no-input-rename': 'off',
'@angular-eslint/no-output-rename': 'off',
},
},
],
};