@egy186/eslint-config 0.85.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 +5 -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',
|
|
@@ -111,6 +113,7 @@ module.exports = {
|
|
|
111
113
|
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
|
112
114
|
'@typescript-eslint/no-misused-new': 'error',
|
|
113
115
|
'@typescript-eslint/no-misused-promises': 'error',
|
|
116
|
+
'@typescript-eslint/no-mixed-enums': 'warn',
|
|
114
117
|
'@typescript-eslint/no-namespace': 'error',
|
|
115
118
|
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
|
116
119
|
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
|
@@ -184,12 +187,14 @@ module.exports = {
|
|
|
184
187
|
'@typescript-eslint/typedef': 'error',
|
|
185
188
|
'@typescript-eslint/unbound-method': 'error',
|
|
186
189
|
'@typescript-eslint/unified-signatures': 'error',
|
|
190
|
+
'block-spacing': 'off',
|
|
187
191
|
camelcase: 'off',
|
|
188
192
|
'comma-dangle': 'off',
|
|
189
193
|
'dot-notation': 'off',
|
|
190
194
|
'init-declarations': 'off',
|
|
191
195
|
'key-spacing': 'off',
|
|
192
196
|
'keyword-spacing': 'off',
|
|
197
|
+
'lines-around-comment': 'off',
|
|
193
198
|
'lines-between-class-members': 'off',
|
|
194
199
|
'no-dupe-class-members': 'off',
|
|
195
200
|
'no-extra-parens': 'off',
|