-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc.js
35 lines (35 loc) · 988 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
31
32
33
34
35
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
ignorePatterns: ['projects/angular-ui/**/*'],
plugins: ['@angular-eslint', 'header'],
overrides: [
{
files: ['*.ts'],
extends:
'./node_modules/@villedemontreal/lint-config/rules/eslint-angular.json',
parserOptions: {
project: ['tsconfig.json']
},
rules: {
'@typescript-eslint/no-explicit-any': 0,
'header/header': [
2,
'block',
[
`\n * Copyright (c) ${new Date().getFullYear()} Ville de Montreal. All rights reserved.\n * Licensed under the MIT license.\n * See LICENSE file in the project root for full license information.\n `
]
]
}
},
{
files: ['*.html'],
extends: ['plugin:@angular-eslint/template/recommended'],
parserOptions: {
project: ['tsconfig.json']
},
rules: {}
}
],
extends: ['plugin:storybook/recommended']
};