@dangee1705/eslint-config 0.3.1 → 0.5.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/eslint.config.js +7 -11
- package/package.json +6 -6
package/eslint.config.js
CHANGED
|
@@ -80,7 +80,7 @@ export default [
|
|
|
80
80
|
'no-unsafe-negation': ['warn'],
|
|
81
81
|
'no-unsafe-optional-chaining': ['warn'],
|
|
82
82
|
'no-unused-private-class-members': ['warn'],
|
|
83
|
-
'no-unused-vars': ['
|
|
83
|
+
'no-unused-vars': ['off'],
|
|
84
84
|
'no-use-before-define': ['warn'],
|
|
85
85
|
'no-useless-assignment': ['warn'],
|
|
86
86
|
'no-useless-backreference': ['warn'],
|
|
@@ -298,7 +298,7 @@ export default [
|
|
|
298
298
|
'@stylistic/new-parens': ['warn', 'always'],
|
|
299
299
|
'@stylistic/newline-per-chained-call': ['warn', {'ignoreChainWithDepth': 3}],
|
|
300
300
|
'@stylistic/no-confusing-arrow': ['warn', {'allowParens': true}],
|
|
301
|
-
'@stylistic/no-extra-parens': ['warn', 'all', {'nestedBinaryExpressions': false, 'ignoreJSX': 'multi-line', 'enforceForArrowConditionals': false}],
|
|
301
|
+
'@stylistic/no-extra-parens': ['warn', 'all', {'nestedBinaryExpressions': false, 'ignoreJSX': 'multi-line', 'enforceForArrowConditionals': false, 'allowNodesInSpreadElement': {"ConditionalExpression": true, "LogicalExpression": true, "AwaitExpression": true}}],
|
|
302
302
|
'@stylistic/no-extra-semi': ['warn'],
|
|
303
303
|
'@stylistic/no-floating-decimal': ['warn'],
|
|
304
304
|
'@stylistic/no-mixed-operators': ['warn', {'allowSamePrecedence': true}],
|
|
@@ -309,13 +309,7 @@ export default [
|
|
|
309
309
|
'@stylistic/no-trailing-spaces': ['warn'],
|
|
310
310
|
'@stylistic/no-whitespace-before-property': ['warn'],
|
|
311
311
|
'@stylistic/nonblock-statement-body-position': ['warn', 'any'],
|
|
312
|
-
'@stylistic/object-curly-newline': [
|
|
313
|
-
'warn',
|
|
314
|
-
{
|
|
315
|
-
'multiline': true,
|
|
316
|
-
'consistent': true
|
|
317
|
-
}
|
|
318
|
-
],
|
|
312
|
+
'@stylistic/object-curly-newline': ['warn', {'multiline': true, 'consistent': true}],
|
|
319
313
|
'@stylistic/object-curly-spacing': ['warn', 'never'],
|
|
320
314
|
'@stylistic/object-property-newline': ['off'],
|
|
321
315
|
'@stylistic/one-var-declaration-per-line': ['warn', 'initializations'],
|
|
@@ -431,7 +425,7 @@ export default [
|
|
|
431
425
|
// '@typescript-eslint/no-unsafe-type-assertion': ['warn'],
|
|
432
426
|
// '@typescript-eslint/no-unsafe-unary-minus': ['warn'],
|
|
433
427
|
// '@typescript-eslint/no-unused-expressions': ['warn'],
|
|
434
|
-
|
|
428
|
+
'@typescript-eslint/no-unused-vars': ['warn'],
|
|
435
429
|
// '@typescript-eslint/no-use-before-define': ['warn'],
|
|
436
430
|
// '@typescript-eslint/no-useless-constructor': ['warn'],
|
|
437
431
|
// '@typescript-eslint/no-useless-empty-export': ['warn'],
|
|
@@ -475,7 +469,9 @@ export default [
|
|
|
475
469
|
// '@typescript-eslint/unified-signatures': ['warn'],
|
|
476
470
|
// '@typescript-eslint/use-unknown-in-catch-callback-variable': ['warn']
|
|
477
471
|
|
|
478
|
-
'simple-import-sort/imports': ['warn'
|
|
472
|
+
'simple-import-sort/imports': ['warn', {
|
|
473
|
+
'groups': [['.*']]
|
|
474
|
+
}]
|
|
479
475
|
},
|
|
480
476
|
plugins: {
|
|
481
477
|
'react-hooks': reactHooks,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dangee1705/eslint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Dan Gee's ESLint Config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
"main": "eslint.config.js",
|
|
15
15
|
"homepage": "https://github.com/dangee1705/eslint-config",
|
|
16
16
|
"repository": {
|
|
17
|
-
"url": "https://github.com/dangee1705/eslint-config"
|
|
17
|
+
"url": "git+https://github.com/dangee1705/eslint-config.git"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"author": "Dan Gee <dangee1705@gmail.com> (https://dangee1705.com)",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@stylistic/eslint-plugin": "^
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
24
|
-
"@typescript-eslint/parser": "^8.
|
|
22
|
+
"@stylistic/eslint-plugin": "^5.1.0",
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^8.35.1",
|
|
24
|
+
"@typescript-eslint/parser": "^8.35.1",
|
|
25
25
|
"eslint-plugin-react": "^7.37.5",
|
|
26
26
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
27
27
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
28
|
-
"globals": "^16.
|
|
28
|
+
"globals": "^16.3.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"eslint": "^9.23.0"
|