forked from CarnegieLearningWeb/UpGrade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
42 lines (42 loc) · 1.36 KB
/
.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
36
37
38
39
40
41
42
module.exports = {
'env': {
'browser': true,
'es6': true,
'node': true,
'jest': true
},
'extends': [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
// "plugin:@typescript-eslint/strict",
'prettier'
],
'parser': '@typescript-eslint/parser',
'parserOptions': {
'project': 'tsconfig.root.json',
'tsconfigRootDir': __dirname,
'sourceType': 'module'
},
'plugins': [
"@typescript-eslint",
'@angular-eslint/eslint-plugin',
'eslint-plugin-tsdoc',
'prettier'
],
'root': true,
'rules': {
'tsdoc/syntax': 'warn',
'@angular-eslint/component-class-suffix': 'error',
'@angular-eslint/directive-class-suffix': 'error',
'@angular-eslint/no-input-rename': 'error',
'@angular-eslint/no-output-on-prefix': 'error',
'@angular-eslint/no-output-rename': 'error',
'@angular-eslint/use-pipe-transform-interface': 'error',
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "off", // TODO: this is a later task, way too many to tackle now
"prettier/prettier": 2,
'@typescript-eslint/strict-boolean-expressions': 'off'
}
};