@vinicunca/eslint-config 2.0.5 → 2.0.9
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 +22 -1
- package/dist/index.js +22 -1
- package/package.json +17 -17
- package/LICENSE +0 -21
package/dist/index.cjs
CHANGED
|
@@ -1443,7 +1443,6 @@ function javascript(options = {}) {
|
|
|
1443
1443
|
"no-useless-rename": ERROR,
|
|
1444
1444
|
"no-useless-return": ERROR,
|
|
1445
1445
|
"no-var": ERROR,
|
|
1446
|
-
"no-void": ERROR,
|
|
1447
1446
|
"no-with": ERROR,
|
|
1448
1447
|
"object-shorthand": [ERROR, ALWAYS, {
|
|
1449
1448
|
avoidQuotes: true,
|
|
@@ -1488,6 +1487,28 @@ function javascript(options = {}) {
|
|
|
1488
1487
|
"yoda": [ERROR, NEVER],
|
|
1489
1488
|
...import_eslint_plugin_vinicunca.default.configs.recommended.rules,
|
|
1490
1489
|
...import_eslint_plugin_perfectionist.default.configs["recommended-natural"].rules,
|
|
1490
|
+
"perfectionist/sort-imports": [
|
|
1491
|
+
ERROR,
|
|
1492
|
+
{
|
|
1493
|
+
"groups": [
|
|
1494
|
+
"type",
|
|
1495
|
+
["builtin", "external"],
|
|
1496
|
+
"internal-type",
|
|
1497
|
+
"internal",
|
|
1498
|
+
["parent-type", "sibling-type", "index-type"],
|
|
1499
|
+
["parent", "sibling", "index"],
|
|
1500
|
+
"object",
|
|
1501
|
+
"unknown"
|
|
1502
|
+
],
|
|
1503
|
+
"internal-pattern": [
|
|
1504
|
+
"~/**",
|
|
1505
|
+
"~~/**"
|
|
1506
|
+
],
|
|
1507
|
+
"newlines-between": "always",
|
|
1508
|
+
"order": "asc",
|
|
1509
|
+
"type": "natural"
|
|
1510
|
+
}
|
|
1511
|
+
],
|
|
1491
1512
|
"perfectionist/sort-vue-attributes": [OFF],
|
|
1492
1513
|
...overrides
|
|
1493
1514
|
}
|
package/dist/index.js
CHANGED
|
@@ -1350,7 +1350,6 @@ function javascript(options = {}) {
|
|
|
1350
1350
|
"no-useless-rename": ERROR,
|
|
1351
1351
|
"no-useless-return": ERROR,
|
|
1352
1352
|
"no-var": ERROR,
|
|
1353
|
-
"no-void": ERROR,
|
|
1354
1353
|
"no-with": ERROR,
|
|
1355
1354
|
"object-shorthand": [ERROR, ALWAYS, {
|
|
1356
1355
|
avoidQuotes: true,
|
|
@@ -1395,6 +1394,28 @@ function javascript(options = {}) {
|
|
|
1395
1394
|
"yoda": [ERROR, NEVER],
|
|
1396
1395
|
...default4.configs.recommended.rules,
|
|
1397
1396
|
...default10.configs["recommended-natural"].rules,
|
|
1397
|
+
"perfectionist/sort-imports": [
|
|
1398
|
+
ERROR,
|
|
1399
|
+
{
|
|
1400
|
+
"groups": [
|
|
1401
|
+
"type",
|
|
1402
|
+
["builtin", "external"],
|
|
1403
|
+
"internal-type",
|
|
1404
|
+
"internal",
|
|
1405
|
+
["parent-type", "sibling-type", "index-type"],
|
|
1406
|
+
["parent", "sibling", "index"],
|
|
1407
|
+
"object",
|
|
1408
|
+
"unknown"
|
|
1409
|
+
],
|
|
1410
|
+
"internal-pattern": [
|
|
1411
|
+
"~/**",
|
|
1412
|
+
"~~/**"
|
|
1413
|
+
],
|
|
1414
|
+
"newlines-between": "always",
|
|
1415
|
+
"order": "asc",
|
|
1416
|
+
"type": "natural"
|
|
1417
|
+
}
|
|
1418
|
+
],
|
|
1398
1419
|
"perfectionist/sort-vue-attributes": [OFF],
|
|
1399
1420
|
...overrides
|
|
1400
1421
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.9",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -54,17 +54,24 @@
|
|
|
54
54
|
"engines": {
|
|
55
55
|
"node": ">=18.0.0"
|
|
56
56
|
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"stub": "tsup src/index.ts --format esm",
|
|
59
|
+
"lint": "pnpm run stub && eslint .",
|
|
60
|
+
"test": "vitest",
|
|
61
|
+
"build": "tsup src/index.ts --format esm,cjs --clean --dts",
|
|
62
|
+
"release": "bumpp package.json --commit --push --tag --commit 'chore: release v'"
|
|
63
|
+
},
|
|
57
64
|
"peerDependencies": {
|
|
58
|
-
"eslint": ">=8.
|
|
65
|
+
"eslint": ">=8.52.0"
|
|
59
66
|
},
|
|
60
67
|
"dependencies": {
|
|
61
|
-
"@antfu/eslint-define-config": "
|
|
62
|
-
"@stylistic/eslint-plugin": "^0.1.
|
|
68
|
+
"@antfu/eslint-define-config": "1.23.0-2",
|
|
69
|
+
"@stylistic/eslint-plugin": "^0.1.2",
|
|
63
70
|
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
|
64
71
|
"@typescript-eslint/parser": "^6.9.0",
|
|
65
|
-
"@vinicunca/eslint-plugin-vinicunca": "^1.0.
|
|
72
|
+
"@vinicunca/eslint-plugin-vinicunca": "^1.0.4",
|
|
66
73
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
67
|
-
"eslint-plugin-i": "^2.
|
|
74
|
+
"eslint-plugin-i": "^2.29.0",
|
|
68
75
|
"eslint-plugin-jsdoc": "^46.8.2",
|
|
69
76
|
"eslint-plugin-jsonc": "^2.10.0",
|
|
70
77
|
"eslint-plugin-markdown": "^3.0.1",
|
|
@@ -73,10 +80,10 @@
|
|
|
73
80
|
"eslint-plugin-perfectionist": "^2.2.0",
|
|
74
81
|
"eslint-plugin-react": "^7.33.2",
|
|
75
82
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
76
|
-
"eslint-plugin-unicorn": "^
|
|
83
|
+
"eslint-plugin-unicorn": "^49.0.0",
|
|
77
84
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
78
85
|
"eslint-plugin-vitest": "^0.3.8",
|
|
79
|
-
"eslint-plugin-vue": "^9.18.
|
|
86
|
+
"eslint-plugin-vue": "^9.18.1",
|
|
80
87
|
"eslint-plugin-yml": "^1.10.0",
|
|
81
88
|
"globals": "^13.23.0",
|
|
82
89
|
"jsonc-eslint-parser": "^2.4.0",
|
|
@@ -86,17 +93,10 @@
|
|
|
86
93
|
"yaml-eslint-parser": "^1.2.2"
|
|
87
94
|
},
|
|
88
95
|
"devDependencies": {
|
|
89
|
-
"@eslint-stylistic/metadata": "^0.1.
|
|
96
|
+
"@eslint-stylistic/metadata": "^0.1.2",
|
|
90
97
|
"@types/fs-extra": "^11.0.3",
|
|
91
98
|
"fs-extra": "^11.1.1",
|
|
92
99
|
"react": "^18.2.0",
|
|
93
100
|
"tsup": "^7.2.0"
|
|
94
|
-
},
|
|
95
|
-
"scripts": {
|
|
96
|
-
"stub": "tsup src/index.ts --format esm",
|
|
97
|
-
"lint": "pnpm run stub && eslint .",
|
|
98
|
-
"test": "vitest",
|
|
99
|
-
"build": "tsup src/index.ts --format esm,cjs --clean --dts",
|
|
100
|
-
"release": "bumpp package.json --commit --push --tag --commit 'chore: release v'"
|
|
101
101
|
}
|
|
102
|
-
}
|
|
102
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022-PRESENT praburangki<https://github.com/praburangki>
|
|
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.
|