@socprime/master-configuration 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +18 -6
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -9,27 +9,37 @@ const extendAirBnBRules = [
|
|
|
9
9
|
|
|
10
10
|
const javascriptRules = {
|
|
11
11
|
'no-plusplus': 0,
|
|
12
|
-
'arrow-body-style': 0,
|
|
13
12
|
'no-nested-ternary': 0,
|
|
14
13
|
'no-await-in-loop': 1,
|
|
15
14
|
'no-param-reassign': 1,
|
|
16
15
|
'no-unused-vars': 1,
|
|
17
16
|
'no-undef': 0,
|
|
18
17
|
'no-shadow': 0,
|
|
18
|
+
'no-empty-function': 1,
|
|
19
|
+
'no-empty': 1,
|
|
19
20
|
'no-use-before-define': 0,
|
|
21
|
+
'no-continue': 1,
|
|
22
|
+
'no-control-regex': 0,
|
|
23
|
+
'no-case-declarations': 0,
|
|
24
|
+
'no-restricted-syntax': 1,
|
|
25
|
+
'no-useless-constructor': 1,
|
|
26
|
+
'no-useless-catch': 1,
|
|
27
|
+
|
|
28
|
+
'arrow-body-style': 0,
|
|
20
29
|
'global-require': 1,
|
|
30
|
+
'max-len': 1,
|
|
31
|
+
'prefer-destructuring': 1,
|
|
32
|
+
camelcase: 1,
|
|
33
|
+
'class-methods-use-this': 1,
|
|
34
|
+
|
|
21
35
|
'import/order': 0,
|
|
36
|
+
'import/no-unresolved': 1,
|
|
22
37
|
'import/prefer-default-export': 0,
|
|
23
38
|
'import/extensions': 0,
|
|
24
39
|
'import/no-extraneous-dependencies': 0,
|
|
25
40
|
'import/no-relative-packages': 0,
|
|
26
|
-
'no-continue': 1,
|
|
27
41
|
'import/no-cycle': 1,
|
|
28
|
-
'class-methods-use-this': 1,
|
|
29
42
|
'import/no-dynamic-require': 1,
|
|
30
|
-
'no-restricted-syntax': 1,
|
|
31
|
-
'no-useless-constructor': 1,
|
|
32
|
-
'prefer-destructuring': 1,
|
|
33
43
|
};
|
|
34
44
|
|
|
35
45
|
const html = [
|
|
@@ -103,6 +113,8 @@ const typescript = [
|
|
|
103
113
|
'@typescript-eslint/ban-ts-comment': 0,
|
|
104
114
|
'@typescript-eslint/no-explicit-any': 1,
|
|
105
115
|
'@typescript-eslint/no-var-requires': 1,
|
|
116
|
+
'@typescript-eslint/no-require-imports': 1,
|
|
117
|
+
'@typescript-eslint/no-unused-vars': 1,
|
|
106
118
|
'react-hooks/exhaustive-deps': 1,
|
|
107
119
|
},
|
|
108
120
|
plugins: ['@typescript-eslint'],
|