@tb-dev/eslint-config 1.5.10 → 1.5.12
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/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -415,7 +415,7 @@ async function typescript(options) {
|
|
|
415
415
|
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
|
416
416
|
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
|
417
417
|
'@typescript-eslint/no-non-null-assertion': 'error',
|
|
418
|
-
'@typescript-eslint/no-redundant-type-constituents': '
|
|
418
|
+
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
|
419
419
|
'@typescript-eslint/no-require-imports': 'error',
|
|
420
420
|
'no-shadow': 'off',
|
|
421
421
|
'@typescript-eslint/no-shadow': 'error',
|
|
@@ -564,7 +564,7 @@ async function unicorn(options) {
|
|
|
564
564
|
'unicorn/no-await-expression-member': 'error',
|
|
565
565
|
'unicorn/no-invalid-remove-event-listener': 'error',
|
|
566
566
|
'unicorn/no-thenable': 'error',
|
|
567
|
-
'unicorn/no-typeof-undefined': '
|
|
567
|
+
'unicorn/no-typeof-undefined': 'off',
|
|
568
568
|
'unicorn/no-useless-fallback-in-spread': 'error',
|
|
569
569
|
'unicorn/no-useless-length-check': 'error',
|
|
570
570
|
'unicorn/no-useless-promise-resolve-reject': 'error',
|
package/dist/index.mjs
CHANGED
|
@@ -413,7 +413,7 @@ async function typescript(options) {
|
|
|
413
413
|
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
|
414
414
|
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
|
415
415
|
'@typescript-eslint/no-non-null-assertion': 'error',
|
|
416
|
-
'@typescript-eslint/no-redundant-type-constituents': '
|
|
416
|
+
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
|
417
417
|
'@typescript-eslint/no-require-imports': 'error',
|
|
418
418
|
'no-shadow': 'off',
|
|
419
419
|
'@typescript-eslint/no-shadow': 'error',
|
|
@@ -562,7 +562,7 @@ async function unicorn(options) {
|
|
|
562
562
|
'unicorn/no-await-expression-member': 'error',
|
|
563
563
|
'unicorn/no-invalid-remove-event-listener': 'error',
|
|
564
564
|
'unicorn/no-thenable': 'error',
|
|
565
|
-
'unicorn/no-typeof-undefined': '
|
|
565
|
+
'unicorn/no-typeof-undefined': 'off',
|
|
566
566
|
'unicorn/no-useless-fallback-in-spread': 'error',
|
|
567
567
|
'unicorn/no-useless-length-check': 'error',
|
|
568
568
|
'unicorn/no-useless-promise-resolve-reject': 'error',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.12",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"*.{?(c|m)@(j|t)s,css,vue,md,json}": "prettier --write"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
22
|
-
"@typescript-eslint/parser": "^6.
|
|
21
|
+
"@typescript-eslint/eslint-plugin": "^6.18.0",
|
|
22
|
+
"@typescript-eslint/parser": "^6.18.0",
|
|
23
23
|
"eslint-config-prettier": "^9.1.0",
|
|
24
24
|
"eslint-plugin-perfectionist": "^2.5.0",
|
|
25
25
|
"eslint-plugin-unicorn": "^50.0.1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"lint-staged": "^15.2.0",
|
|
40
40
|
"npm-run-all2": "^6.1.1",
|
|
41
41
|
"prettier": "^3.1.1",
|
|
42
|
-
"rollup": "^4.9.
|
|
42
|
+
"rollup": "^4.9.4",
|
|
43
43
|
"taze": "^0.13.1",
|
|
44
44
|
"ts-node": "^10.9.2",
|
|
45
45
|
"tslib": "^2.6.2",
|