@tb-dev/eslint-config 1.5.3 → 1.5.5
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/LICENSE +21 -21
- package/dist/index.cjs +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +12 -14
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 Andrew Ferreira
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Andrew Ferreira
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.cjs
CHANGED
|
@@ -19,6 +19,7 @@ var GlobIgnore;
|
|
|
19
19
|
GlobIgnore["LOG"] = "**/log?(s)";
|
|
20
20
|
GlobIgnore["NODE_MODULES"] = "**/node_modules";
|
|
21
21
|
GlobIgnore["OUT"] = "**/out";
|
|
22
|
+
GlobIgnore["TARGET"] = "**/target";
|
|
22
23
|
GlobIgnore["TEMP"] = "**/?(.)temp";
|
|
23
24
|
})(GlobIgnore || (GlobIgnore = {}));
|
|
24
25
|
|
|
@@ -434,12 +435,12 @@ async function typescript(options) {
|
|
|
434
435
|
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
|
435
436
|
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
|
436
437
|
'@typescript-eslint/no-unsafe-argument': 'off',
|
|
437
|
-
'@typescript-eslint/no-unsafe-assignment': '
|
|
438
|
+
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
438
439
|
'@typescript-eslint/no-unsafe-call': 'error',
|
|
439
440
|
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
|
440
441
|
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
|
|
441
442
|
'@typescript-eslint/no-unsafe-member-access': 'error',
|
|
442
|
-
'@typescript-eslint/no-unsafe-return': '
|
|
443
|
+
'@typescript-eslint/no-unsafe-return': 'off',
|
|
443
444
|
'@typescript-eslint/no-unsafe-unary-minus': 'error',
|
|
444
445
|
'no-unused-expressions': 'off',
|
|
445
446
|
'@typescript-eslint/no-unused-expressions': [
|
package/dist/index.mjs
CHANGED
|
@@ -17,6 +17,7 @@ var GlobIgnore;
|
|
|
17
17
|
GlobIgnore["LOG"] = "**/log?(s)";
|
|
18
18
|
GlobIgnore["NODE_MODULES"] = "**/node_modules";
|
|
19
19
|
GlobIgnore["OUT"] = "**/out";
|
|
20
|
+
GlobIgnore["TARGET"] = "**/target";
|
|
20
21
|
GlobIgnore["TEMP"] = "**/?(.)temp";
|
|
21
22
|
})(GlobIgnore || (GlobIgnore = {}));
|
|
22
23
|
|
|
@@ -432,12 +433,12 @@ async function typescript(options) {
|
|
|
432
433
|
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
|
433
434
|
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
|
434
435
|
'@typescript-eslint/no-unsafe-argument': 'off',
|
|
435
|
-
'@typescript-eslint/no-unsafe-assignment': '
|
|
436
|
+
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
436
437
|
'@typescript-eslint/no-unsafe-call': 'error',
|
|
437
438
|
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
|
438
439
|
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
|
|
439
440
|
'@typescript-eslint/no-unsafe-member-access': 'error',
|
|
440
|
-
'@typescript-eslint/no-unsafe-return': '
|
|
441
|
+
'@typescript-eslint/no-unsafe-return': 'off',
|
|
441
442
|
'@typescript-eslint/no-unsafe-unary-minus': 'error',
|
|
442
443
|
'no-unused-expressions': 'off',
|
|
443
444
|
'@typescript-eslint/no-unused-expressions': [
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"private": false,
|
|
8
|
-
"packageManager": "pnpm@8.
|
|
8
|
+
"packageManager": "pnpm@8.13.1",
|
|
9
9
|
"homepage": "https://github.com/ferreira-tb/eslint-config",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -18,12 +18,12 @@
|
|
|
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.16.0",
|
|
22
|
+
"@typescript-eslint/parser": "^6.16.0",
|
|
23
23
|
"eslint-config-prettier": "^9.1.0",
|
|
24
24
|
"eslint-plugin-perfectionist": "^2.5.0",
|
|
25
|
-
"eslint-plugin-unicorn": "^
|
|
26
|
-
"eslint-plugin-vitest": "^0.3.
|
|
25
|
+
"eslint-plugin-unicorn": "^50.0.1",
|
|
26
|
+
"eslint-plugin-vitest": "^0.3.20",
|
|
27
27
|
"eslint-plugin-vue": "^9.19.2",
|
|
28
28
|
"globals": "^13.24.0",
|
|
29
29
|
"vue-eslint-parser": "^9.3.2"
|
|
@@ -37,16 +37,15 @@
|
|
|
37
37
|
"execa": "^8.0.1",
|
|
38
38
|
"husky": "^8.0.3",
|
|
39
39
|
"lint-staged": "^15.2.0",
|
|
40
|
-
"miho": "^2.2.3",
|
|
41
40
|
"npm-run-all2": "^6.1.1",
|
|
42
41
|
"prettier": "^3.1.1",
|
|
43
42
|
"rollup": "^4.9.1",
|
|
44
|
-
"taze": "^0.13.
|
|
43
|
+
"taze": "^0.13.1",
|
|
45
44
|
"ts-node": "^10.9.2",
|
|
46
45
|
"tslib": "^2.6.2",
|
|
47
46
|
"typescript": "5.3.3",
|
|
48
47
|
"vite": "^5.0.10",
|
|
49
|
-
"vite-plugin-dts": "^3.
|
|
48
|
+
"vite-plugin-dts": "^3.7.0"
|
|
50
49
|
},
|
|
51
50
|
"peerDependencies": {
|
|
52
51
|
"eslint": "^8.0.0"
|
|
@@ -66,11 +65,10 @@
|
|
|
66
65
|
},
|
|
67
66
|
"scripts": {
|
|
68
67
|
"build": "rollup --config rollup.config.js",
|
|
69
|
-
"deps": "
|
|
70
|
-
"format": "
|
|
71
|
-
"format-check": "
|
|
68
|
+
"deps": "taze -w -f -l",
|
|
69
|
+
"format": "prettier . --write",
|
|
70
|
+
"format-check": "prettier . --check",
|
|
72
71
|
"lint": "eslint . --config eslint.config.js --cache",
|
|
73
|
-
"
|
|
74
|
-
"typecheck": "tsc --noEmit"
|
|
72
|
+
"type-check": "tsc --noEmit"
|
|
75
73
|
}
|
|
76
74
|
}
|