@robinblomberg/eslint-config-robinblomberg 0.25.1 → 0.26.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/index.js +6 -6
- package/package.json +7 -7
package/index.js
CHANGED
|
@@ -1124,7 +1124,7 @@ module.exports = defineConfig({
|
|
|
1124
1124
|
'no-floating-decimal': warn,
|
|
1125
1125
|
'no-func-assign': warn,
|
|
1126
1126
|
'no-global-assign': warn,
|
|
1127
|
-
'no-implicit-coercion': [warn, { boolean: false }],
|
|
1127
|
+
'no-implicit-coercion': [warn, { boolean: false, number: false }],
|
|
1128
1128
|
'no-implicit-globals': warn,
|
|
1129
1129
|
'no-implied-eval': warn,
|
|
1130
1130
|
'no-inline-comments': off,
|
|
@@ -1251,7 +1251,7 @@ module.exports = defineConfig({
|
|
|
1251
1251
|
'no-restricted-imports': warn,
|
|
1252
1252
|
'no-restricted-modules': warn,
|
|
1253
1253
|
'no-restricted-properties': warn,
|
|
1254
|
-
'no-restricted-syntax': [warn, '
|
|
1254
|
+
'no-restricted-syntax': [warn, 'WithStatement'],
|
|
1255
1255
|
'no-return-assign': [warn, 'except-parens'],
|
|
1256
1256
|
'no-return-await': off,
|
|
1257
1257
|
'no-script-url': warn,
|
|
@@ -1456,7 +1456,7 @@ module.exports = defineConfig({
|
|
|
1456
1456
|
'unicorn/consistent-destructuring': warn,
|
|
1457
1457
|
'unicorn/consistent-function-scoping': warn,
|
|
1458
1458
|
'unicorn/custom-error-definition': off,
|
|
1459
|
-
'unicorn/empty-brace-spaces':
|
|
1459
|
+
'unicorn/empty-brace-spaces': off,
|
|
1460
1460
|
'unicorn/error-message': warn,
|
|
1461
1461
|
'unicorn/escape-case': warn,
|
|
1462
1462
|
'unicorn/expiring-todo-comments': warn,
|
|
@@ -1481,7 +1481,7 @@ module.exports = defineConfig({
|
|
|
1481
1481
|
'unicorn/no-await-expression-member': warn,
|
|
1482
1482
|
'unicorn/no-console-spaces': warn,
|
|
1483
1483
|
'unicorn/no-document-cookie': warn,
|
|
1484
|
-
'unicorn/no-empty-file':
|
|
1484
|
+
'unicorn/no-empty-file': off,
|
|
1485
1485
|
'unicorn/no-for-loop': warn,
|
|
1486
1486
|
'unicorn/no-hex-escape': off,
|
|
1487
1487
|
'unicorn/no-instanceof-array': warn,
|
|
@@ -1490,7 +1490,7 @@ module.exports = defineConfig({
|
|
|
1490
1490
|
'unicorn/no-lonely-if': warn,
|
|
1491
1491
|
'unicorn/no-negated-condition': warn,
|
|
1492
1492
|
'unicorn/no-nested-ternary': off,
|
|
1493
|
-
'unicorn/no-new-array':
|
|
1493
|
+
'unicorn/no-new-array': off,
|
|
1494
1494
|
'unicorn/no-new-buffer': warn,
|
|
1495
1495
|
'unicorn/no-null': off,
|
|
1496
1496
|
'unicorn/no-object-as-default-parameter': off,
|
|
@@ -1499,7 +1499,7 @@ module.exports = defineConfig({
|
|
|
1499
1499
|
// Disabled due to slow performance:
|
|
1500
1500
|
'unicorn/no-thenable': off,
|
|
1501
1501
|
'unicorn/no-this-assignment': warn,
|
|
1502
|
-
'unicorn/no-typeof-undefined': warn,
|
|
1502
|
+
'unicorn/no-typeof-undefined': [warn, { checkGlobalVariables: true }],
|
|
1503
1503
|
'unicorn/no-unnecessary-await': warn,
|
|
1504
1504
|
'unicorn/no-unreadable-array-destructuring': warn,
|
|
1505
1505
|
'unicorn/no-unreadable-iife': warn,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robinblomberg/eslint-config-robinblomberg",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"author": "Robin Blomberg",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
},
|
|
13
13
|
"homepage": "https://github.com/RobinBlomberg/eslint-config-robinblomberg#readme",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@babel/core": "^7.
|
|
15
|
+
"@babel/core": "^7.24.0",
|
|
16
16
|
"@babel/eslint-parser": "^7.23.10",
|
|
17
|
-
"@typescript-eslint/eslint-plugin": "^7.0
|
|
18
|
-
"@typescript-eslint/parser": "^7.0
|
|
17
|
+
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
|
18
|
+
"@typescript-eslint/parser": "^7.1.0",
|
|
19
19
|
"eslint-define-config": "^2.1.0",
|
|
20
20
|
"eslint-plugin-import": "^2.29.1",
|
|
21
|
-
"eslint-plugin-jsdoc": "^48.0
|
|
21
|
+
"eslint-plugin-jsdoc": "^48.2.0",
|
|
22
22
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
23
23
|
"eslint-plugin-react": "^7.33.2",
|
|
24
24
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"eslint-plugin-sonarjs": "^0.24.0",
|
|
27
27
|
"eslint-plugin-sort-exports": "^0.9.1",
|
|
28
28
|
"eslint-plugin-sort-keys": "^2.3.5",
|
|
29
|
-
"eslint-plugin-storybook": "^0.
|
|
29
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
30
30
|
"eslint-plugin-unicorn": "^51.0.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@robinblomberg/eslint-config-robinblomberg": "0.25.
|
|
33
|
+
"@robinblomberg/eslint-config-robinblomberg": "0.25.1",
|
|
34
34
|
"@types/node": "*"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|