@frabbit/eslint-config 1.5.13 → 1.5.14
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 +1 -2
- package/dist/index.js +1 -2
- package/package.json +25 -25
package/dist/index.cjs
CHANGED
|
@@ -228,7 +228,6 @@ var imports = [
|
|
|
228
228
|
},
|
|
229
229
|
rules: {
|
|
230
230
|
"antfu/import-dedupe": "error",
|
|
231
|
-
"antfu/prefer-inline-type-import": "error",
|
|
232
231
|
"import/first": "error",
|
|
233
232
|
"import/newline-after-import": ["error", { count: 1 }],
|
|
234
233
|
"import/no-default-export": "error",
|
|
@@ -854,7 +853,7 @@ var typescript = [
|
|
|
854
853
|
// handled by unused-imports/no-unused-imports
|
|
855
854
|
"@typescript-eslint/no-unused-vars": "off",
|
|
856
855
|
"@typescript-eslint/prefer-as-const": "warn",
|
|
857
|
-
"
|
|
856
|
+
"no-restricted-syntax": ["error", "TSEnumDeclaration[const=true]"]
|
|
858
857
|
}
|
|
859
858
|
},
|
|
860
859
|
{
|
package/dist/index.js
CHANGED
|
@@ -123,7 +123,6 @@ var imports = [
|
|
|
123
123
|
},
|
|
124
124
|
rules: {
|
|
125
125
|
"antfu/import-dedupe": "error",
|
|
126
|
-
"antfu/prefer-inline-type-import": "error",
|
|
127
126
|
"import/first": "error",
|
|
128
127
|
"import/newline-after-import": ["error", { count: 1 }],
|
|
129
128
|
"import/no-default-export": "error",
|
|
@@ -749,7 +748,7 @@ var typescript = [
|
|
|
749
748
|
// handled by unused-imports/no-unused-imports
|
|
750
749
|
"@typescript-eslint/no-unused-vars": "off",
|
|
751
750
|
"@typescript-eslint/prefer-as-const": "warn",
|
|
752
|
-
"
|
|
751
|
+
"no-restricted-syntax": ["error", "TSEnumDeclaration[const=true]"]
|
|
753
752
|
}
|
|
754
753
|
},
|
|
755
754
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frabbit/eslint-config",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.14",
|
|
4
4
|
"packageManager": "npm@9.6.7",
|
|
5
5
|
"description": "ESLint config for @frabbit.",
|
|
6
6
|
"type": "module",
|
|
@@ -37,44 +37,44 @@
|
|
|
37
37
|
"eslint": "^8.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
41
|
-
"@typescript-eslint/parser": "^6.
|
|
42
|
-
"@unocss/eslint-plugin": "^0.
|
|
43
|
-
"eslint-config-prettier": "^9.
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
41
|
+
"@typescript-eslint/parser": "^6.15.0",
|
|
42
|
+
"@unocss/eslint-plugin": "^0.58.0",
|
|
43
|
+
"eslint-config-prettier": "^9.1.0",
|
|
44
44
|
"eslint-define-config": "^2.0.0",
|
|
45
|
-
"eslint-plugin-antfu": "^
|
|
45
|
+
"eslint-plugin-antfu": "^2.0.0",
|
|
46
46
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
47
|
-
"eslint-plugin-i": "^2.29.
|
|
48
|
-
"eslint-plugin-jsonc": "^2.
|
|
47
|
+
"eslint-plugin-i": "^2.29.1",
|
|
48
|
+
"eslint-plugin-jsonc": "^2.11.2",
|
|
49
49
|
"eslint-plugin-markdown": "^3.0.1",
|
|
50
|
-
"eslint-plugin-prettier": "^5.
|
|
51
|
-
"eslint-plugin-security": "^1.
|
|
50
|
+
"eslint-plugin-prettier": "^5.1.1",
|
|
51
|
+
"eslint-plugin-security": "^2.1.0",
|
|
52
52
|
"eslint-plugin-sonarjs": "^0.23.0",
|
|
53
|
-
"eslint-plugin-unicorn": "^
|
|
53
|
+
"eslint-plugin-unicorn": "^50.0.1",
|
|
54
54
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
55
|
-
"eslint-plugin-vue": "^9.
|
|
56
|
-
"eslint-plugin-yml": "^1.
|
|
57
|
-
"globals": "^13.
|
|
58
|
-
"jsonc-eslint-parser": "^2.
|
|
55
|
+
"eslint-plugin-vue": "^9.19.2",
|
|
56
|
+
"eslint-plugin-yml": "^1.11.0",
|
|
57
|
+
"globals": "^13.24.0",
|
|
58
|
+
"jsonc-eslint-parser": "^2.4.0",
|
|
59
59
|
"local-pkg": "^0.5.0",
|
|
60
|
-
"prettier": "^3.
|
|
61
|
-
"vue-eslint-parser": "^9.3.
|
|
60
|
+
"prettier": "^3.1.1",
|
|
61
|
+
"vue-eslint-parser": "^9.3.2",
|
|
62
62
|
"yaml-eslint-parser": "^1.2.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@frabbit/prettier-config": "^2.0.0",
|
|
66
66
|
"@semantic-release/changelog": "^6.0.3",
|
|
67
67
|
"@semantic-release/git": "^10.0.1",
|
|
68
|
-
"@semantic-release/github": "^9.2.
|
|
69
|
-
"@semantic-release/npm": "^11.0.
|
|
70
|
-
"@types/node": "^20.
|
|
71
|
-
"bumpp": "^9.2.
|
|
68
|
+
"@semantic-release/github": "^9.2.5",
|
|
69
|
+
"@semantic-release/npm": "^11.0.2",
|
|
70
|
+
"@types/node": "^20.10.5",
|
|
71
|
+
"bumpp": "^9.2.1",
|
|
72
72
|
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
73
|
-
"eslint": "^8.
|
|
73
|
+
"eslint": "^8.56.0",
|
|
74
74
|
"eslint-plugin-sort-keys": "^2.3.5",
|
|
75
|
-
"sucrase": "^3.
|
|
76
|
-
"tsup": "^
|
|
77
|
-
"typescript": "^5.
|
|
75
|
+
"sucrase": "^3.35.0",
|
|
76
|
+
"tsup": "^8.0.1",
|
|
77
|
+
"typescript": "^5.3.3"
|
|
78
78
|
},
|
|
79
79
|
"engines": {
|
|
80
80
|
"node": ">=16.14.0"
|