@egy186/eslint-config 0.84.0 → 0.86.0
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/package.json +8 -8
- package/typescript.js +7 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egy186/eslint-config",
|
|
3
3
|
"description": "Eslint shareable config",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.86.0",
|
|
5
5
|
"author": "egy186",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/egy186/eslint-config/issues"
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"lodash": "^4.17.21"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
14
|
-
"@typescript-eslint/parser": "~5.
|
|
15
|
-
"eslint": "~8.
|
|
13
|
+
"@typescript-eslint/eslint-plugin": "~5.56.0",
|
|
14
|
+
"@typescript-eslint/parser": "~5.56.0",
|
|
15
|
+
"eslint": "~8.36.0",
|
|
16
16
|
"eslint-plugin-import": "~2.27.5",
|
|
17
17
|
"eslint-plugin-jest": "~27.2.1",
|
|
18
|
-
"eslint-plugin-jsdoc": "~
|
|
18
|
+
"eslint-plugin-jsdoc": "~40.1.0",
|
|
19
19
|
"eslint-plugin-node": "~11.1.0",
|
|
20
20
|
"eslint-plugin-react": "~7.32.2",
|
|
21
21
|
"eslint-plugin-react-hooks": "~4.6.0",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"main": "index.js",
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
49
|
-
"@typescript-eslint/parser": "^5.
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
|
49
|
+
"@typescript-eslint/parser": "^5.55.0",
|
|
50
50
|
"eslint": "^8.27.0",
|
|
51
51
|
"eslint-plugin-import": "^2.27.4",
|
|
52
52
|
"eslint-plugin-jest": "^27.2.0",
|
|
53
|
-
"eslint-plugin-jsdoc": "^
|
|
53
|
+
"eslint-plugin-jsdoc": "^40.0.0",
|
|
54
54
|
"eslint-plugin-node": "^11.1.0",
|
|
55
55
|
"eslint-plugin-react": "^7.32.0",
|
|
56
56
|
"eslint-plugin-react-hooks": "^4.3.0",
|
package/typescript.js
CHANGED
|
@@ -10,6 +10,7 @@ module.exports = {
|
|
|
10
10
|
'@typescript-eslint/ban-ts-comment': 'error',
|
|
11
11
|
'@typescript-eslint/ban-tslint-comment': 'error',
|
|
12
12
|
'@typescript-eslint/ban-types': 'error',
|
|
13
|
+
'@typescript-eslint/block-spacing': ['error', 'always'],
|
|
13
14
|
'@typescript-eslint/brace-style': 'error',
|
|
14
15
|
'@typescript-eslint/class-literal-property-style': 'error',
|
|
15
16
|
'@typescript-eslint/comma-dangle': ['error', 'never'],
|
|
@@ -42,6 +43,7 @@ module.exports = {
|
|
|
42
43
|
before: true
|
|
43
44
|
}
|
|
44
45
|
],
|
|
46
|
+
'@typescript-eslint/lines-around-comment': 'off',
|
|
45
47
|
'@typescript-eslint/lines-between-class-members': 'error',
|
|
46
48
|
'@typescript-eslint/member-delimiter-style': 'error',
|
|
47
49
|
'@typescript-eslint/member-ordering': 'error',
|
|
@@ -101,6 +103,7 @@ module.exports = {
|
|
|
101
103
|
'@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }],
|
|
102
104
|
'@typescript-eslint/no-for-in-array': 'error',
|
|
103
105
|
'@typescript-eslint/no-implied-eval': 'error',
|
|
106
|
+
'@typescript-eslint/no-import-type-side-effects': 'error',
|
|
104
107
|
'@typescript-eslint/no-inferrable-types': 'error',
|
|
105
108
|
'@typescript-eslint/no-invalid-this': 'error',
|
|
106
109
|
'@typescript-eslint/no-invalid-void-type': 'error',
|
|
@@ -110,6 +113,7 @@ module.exports = {
|
|
|
110
113
|
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
|
111
114
|
'@typescript-eslint/no-misused-new': 'error',
|
|
112
115
|
'@typescript-eslint/no-misused-promises': 'error',
|
|
116
|
+
'@typescript-eslint/no-mixed-enums': 'warn',
|
|
113
117
|
'@typescript-eslint/no-namespace': 'error',
|
|
114
118
|
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
|
115
119
|
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
|
@@ -183,12 +187,14 @@ module.exports = {
|
|
|
183
187
|
'@typescript-eslint/typedef': 'error',
|
|
184
188
|
'@typescript-eslint/unbound-method': 'error',
|
|
185
189
|
'@typescript-eslint/unified-signatures': 'error',
|
|
190
|
+
'block-spacing': 'off',
|
|
186
191
|
camelcase: 'off',
|
|
187
192
|
'comma-dangle': 'off',
|
|
188
193
|
'dot-notation': 'off',
|
|
189
194
|
'init-declarations': 'off',
|
|
190
195
|
'key-spacing': 'off',
|
|
191
196
|
'keyword-spacing': 'off',
|
|
197
|
+
'lines-around-comment': 'off',
|
|
192
198
|
'lines-between-class-members': 'off',
|
|
193
199
|
'no-dupe-class-members': 'off',
|
|
194
200
|
'no-extra-parens': 'off',
|
|
@@ -204,6 +210,7 @@ module.exports = {
|
|
|
204
210
|
'object-curly-spacing': 'off',
|
|
205
211
|
'padding-line-between-statements': 'off',
|
|
206
212
|
'require-await': 'off',
|
|
213
|
+
semi: 'off',
|
|
207
214
|
'space-before-blocks': 'off',
|
|
208
215
|
'space-before-function-paren': 'off',
|
|
209
216
|
'space-infix-ops': 'off'
|