@robinblomberg/eslint-config-robinblomberg 0.14.0 → 0.15.0-beta1
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 +11 -9
- package/package.json +14 -14
package/index.js
CHANGED
|
@@ -216,7 +216,7 @@ module.exports = {
|
|
|
216
216
|
],
|
|
217
217
|
'@typescript-eslint/no-array-constructor': warn,
|
|
218
218
|
'@typescript-eslint/no-base-to-string': warn,
|
|
219
|
-
'@typescript-eslint/no-confusing-non-null-assertion':
|
|
219
|
+
'@typescript-eslint/no-confusing-non-null-assertion': off,
|
|
220
220
|
'@typescript-eslint/no-dupe-class-members': warn,
|
|
221
221
|
'@typescript-eslint/no-dynamic-delete': off,
|
|
222
222
|
'@typescript-eslint/no-empty-function': off,
|
|
@@ -312,7 +312,8 @@ module.exports = {
|
|
|
312
312
|
'@typescript-eslint/prefer-includes': warn,
|
|
313
313
|
'@typescript-eslint/prefer-literal-enum-member': warn,
|
|
314
314
|
'@typescript-eslint/prefer-namespace-keyword': warn,
|
|
315
|
-
|
|
315
|
+
// Warns about correct uses of `||`:
|
|
316
|
+
'@typescript-eslint/prefer-nullish-coalescing': off,
|
|
316
317
|
'@typescript-eslint/prefer-optional-chain': warn,
|
|
317
318
|
'@typescript-eslint/prefer-readonly': warn,
|
|
318
319
|
// Disabled due to error:
|
|
@@ -350,7 +351,12 @@ module.exports = {
|
|
|
350
351
|
'@typescript-eslint/unified-signatures': warn,
|
|
351
352
|
'default-case': off,
|
|
352
353
|
'func-call-spacing': off,
|
|
354
|
+
'import/exports-last': off,
|
|
353
355
|
'import/extensions': off,
|
|
356
|
+
'import/no-internal-modules': [
|
|
357
|
+
warn,
|
|
358
|
+
{ allow: ['[@a-z][@a-z]***', '**/*.svg'] },
|
|
359
|
+
],
|
|
354
360
|
'import/no-unassigned-import': off,
|
|
355
361
|
// Disabled due to false positives:
|
|
356
362
|
'import/no-unresolved': [off, { ignore: ['\\.types$'] }],
|
|
@@ -782,7 +788,7 @@ module.exports = {
|
|
|
782
788
|
'import/default': warn,
|
|
783
789
|
'import/dynamic-import-chunkname': off,
|
|
784
790
|
'import/export': warn,
|
|
785
|
-
'import/exports-last':
|
|
791
|
+
'import/exports-last': off,
|
|
786
792
|
'import/extensions': [
|
|
787
793
|
warn,
|
|
788
794
|
{
|
|
@@ -809,10 +815,6 @@ module.exports = {
|
|
|
809
815
|
'import/no-duplicates': warn,
|
|
810
816
|
'import/no-dynamic-require': warn,
|
|
811
817
|
'import/no-extraneous-dependencies': warn,
|
|
812
|
-
'import/no-internal-modules': [
|
|
813
|
-
warn,
|
|
814
|
-
{ allow: ['[@a-z][@a-z]***', '**/*.svg'] },
|
|
815
|
-
],
|
|
816
818
|
'import/no-mutable-exports': warn,
|
|
817
819
|
'import/no-named-as-default': warn,
|
|
818
820
|
'import/no-named-as-default-member': warn,
|
|
@@ -1107,7 +1109,7 @@ module.exports = {
|
|
|
1107
1109
|
'no-multiple-empty-lines': [warn, { max: 1, maxEOF: 0 }],
|
|
1108
1110
|
'no-negated-condition': warn,
|
|
1109
1111
|
'no-negated-in-lhs': warn,
|
|
1110
|
-
'no-nested-ternary':
|
|
1112
|
+
'no-nested-ternary': off,
|
|
1111
1113
|
'no-new': warn,
|
|
1112
1114
|
'no-new-func': warn,
|
|
1113
1115
|
'no-new-object': warn,
|
|
@@ -1211,7 +1213,7 @@ module.exports = {
|
|
|
1211
1213
|
'no-sparse-arrays': warn,
|
|
1212
1214
|
'no-sync': off,
|
|
1213
1215
|
'no-tabs': warn,
|
|
1214
|
-
'no-template-curly-in-string':
|
|
1216
|
+
'no-template-curly-in-string': off,
|
|
1215
1217
|
'no-ternary': off,
|
|
1216
1218
|
'no-this-before-super': warn,
|
|
1217
1219
|
'no-throw-literal': warn,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robinblomberg/eslint-config-robinblomberg",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0-beta1",
|
|
4
4
|
"author": "Robin Blomberg",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -11,25 +11,25 @@
|
|
|
11
11
|
"url": "https://github.com/RobinBlomberg/eslint-config/issues"
|
|
12
12
|
},
|
|
13
13
|
"homepage": "https://github.com/RobinBlomberg/eslint-config#readme",
|
|
14
|
-
"scripts": {
|
|
15
|
-
"lint": "eslint **/*.{js,ts}",
|
|
16
|
-
"lint:fix": "eslint **/*.{js,ts} --fix"
|
|
17
|
-
},
|
|
18
14
|
"dependencies": {
|
|
19
|
-
"@babel/core": "^7.
|
|
20
|
-
"@babel/eslint-parser": "^7.
|
|
21
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
22
|
-
"@typescript-eslint/parser": "^5.
|
|
23
|
-
"eslint": "^8.
|
|
15
|
+
"@babel/core": "^7.22.5",
|
|
16
|
+
"@babel/eslint-parser": "^7.22.5",
|
|
17
|
+
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
18
|
+
"@typescript-eslint/parser": "^5.60.0",
|
|
19
|
+
"eslint": "^8.43.0",
|
|
24
20
|
"eslint-plugin-import": "^2.27.5",
|
|
25
|
-
"eslint-plugin-jsdoc": "^
|
|
21
|
+
"eslint-plugin-jsdoc": "^46.2.6",
|
|
26
22
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
27
23
|
"eslint-plugin-react": "^7.32.2",
|
|
28
24
|
"eslint-plugin-sort-keys": "^2.3.5",
|
|
29
|
-
"typescript": "^
|
|
25
|
+
"typescript": "^5.1.3"
|
|
30
26
|
},
|
|
31
27
|
"devDependencies": {
|
|
32
|
-
"@robinblomberg/eslint-config-robinblomberg": "0.
|
|
28
|
+
"@robinblomberg/eslint-config-robinblomberg": "0.14.0",
|
|
33
29
|
"@types/node": "*"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"lint": "eslint **/*.{js,ts}",
|
|
33
|
+
"lint:fix": "eslint **/*.{js,ts} --fix"
|
|
34
34
|
}
|
|
35
|
-
}
|
|
35
|
+
}
|