-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathangular.js
More file actions
61 lines (60 loc) · 2.31 KB
/
angular.js
File metadata and controls
61 lines (60 loc) · 2.31 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* eslint-env node */
/* eslint-disable quote-props */
import tsEslint from "@typescript-eslint/eslint-plugin";
import noOnlyTests from 'eslint-plugin-no-only-tests';
export default [
{
plugins: {
'no-only-tests': noOnlyTests,
"@typescript-eslint": tsEslint,
},
rules: {
'class-methods-use-this': 0, // TODO warn (was error)
'func-names': 0, // TODO warn (was warn) >500
'import/extensions': 0,
'no-use-before-define': 0,
'prefer-destructuring': 0,
'no-only-tests/no-only-tests': 'error',
'eqeqeq': 0,
'no-plusplus': 0,
'max-len': 0,
'max-classes-per-file': 0,
'consistent-return': 0,
'import/no-webpack-loader-syntax': 0,
'no-restricted-properties': 0,
'no-restricted-globals': 0,
'spellcheck/spell-checker': 0,
'no-mixed-operators': 0,
'no-useless-concat': 0,
'no-self-assign': 0,
'default-case': 0,
'no-var': 0,
'no-return-assign': 0,
'vars-on-top': 0,
'no-sequences': 0,
'new-cap': 0,
'no-param-reassign': 0,
'no-multi-assign': 0,
'no-restricted-syntax': 0,
'prefer-rest-params': 0,
'radix': 0,
'no-underscore-dangle': 0,
'operator-assignment': 0,
'prefer-const': 0,
'@typescript-eslint/naming-convention': 0,
'@typescript-eslint/no-throw-literal': 0,
'@typescript-eslint/no-use-before-define': 0,
'@typescript-eslint/no-shadow': 0,
'@typescript-eslint/no-loop-func': 0,
'@typescript-eslint/ban-types': 0,
'@typescript-eslint/no-this-alias': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-unused-vars': ['error', {argsIgnorePattern: '^_', varsIgnorePattern: '^_'}],
'@typescript-eslint/no-unused-expressions': 0,
'@typescript-eslint/no-useless-constructor': 0,
'@typescript-eslint/explicit-module-boundary-types': 0, // was warn
'@typescript-eslint/no-extraneous-class': 0,
}
}
];