@tofrankie/eslint 0.1.0 → 0.2.0
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/CHANGELOG.md +5 -0
- package/dist/index.cjs +2 -4
- package/dist/index.mjs +2 -4
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -47,9 +47,7 @@ const ANTFU_LESS_OPINIONATED_RULES = {
|
|
|
47
47
|
*/
|
|
48
48
|
const E18E_RULES = {
|
|
49
49
|
"e18e/ban-dependencies": "off",
|
|
50
|
-
"e18e/prefer-
|
|
51
|
-
"e18e/prefer-static-regex": "off",
|
|
52
|
-
"e18e/prefer-array-at": "off"
|
|
50
|
+
"e18e/prefer-static-regex": "off"
|
|
53
51
|
};
|
|
54
52
|
//#endregion
|
|
55
53
|
//#region src/presets/eslint-comments.ts
|
|
@@ -498,7 +496,7 @@ const DEFAULT_OPTIONS = { formatters: {
|
|
|
498
496
|
svg: false,
|
|
499
497
|
xml: false,
|
|
500
498
|
prettierOptions: {
|
|
501
|
-
printWidth:
|
|
499
|
+
printWidth: 100,
|
|
502
500
|
semi: false,
|
|
503
501
|
singleQuote: true,
|
|
504
502
|
arrowParens: "avoid",
|
package/dist/index.mjs
CHANGED
|
@@ -24,9 +24,7 @@ const ANTFU_LESS_OPINIONATED_RULES = {
|
|
|
24
24
|
*/
|
|
25
25
|
const E18E_RULES = {
|
|
26
26
|
"e18e/ban-dependencies": "off",
|
|
27
|
-
"e18e/prefer-
|
|
28
|
-
"e18e/prefer-static-regex": "off",
|
|
29
|
-
"e18e/prefer-array-at": "off"
|
|
27
|
+
"e18e/prefer-static-regex": "off"
|
|
30
28
|
};
|
|
31
29
|
//#endregion
|
|
32
30
|
//#region src/presets/eslint-comments.ts
|
|
@@ -475,7 +473,7 @@ const DEFAULT_OPTIONS = { formatters: {
|
|
|
475
473
|
svg: false,
|
|
476
474
|
xml: false,
|
|
477
475
|
prettierOptions: {
|
|
478
|
-
printWidth:
|
|
476
|
+
printWidth: 100,
|
|
479
477
|
semi: false,
|
|
480
478
|
singleQuote: true,
|
|
481
479
|
arrowParens: "avoid",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tofrankie/eslint",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"description": "Shared ESLint configuration",
|
|
6
6
|
"author": "Frankie <1426203851@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"@angular-eslint/eslint-plugin": "^21.3.1",
|
|
56
56
|
"@angular-eslint/eslint-plugin-template": "^21.3.1",
|
|
57
57
|
"@angular-eslint/template-parser": "^21.3.1",
|
|
58
|
-
"@antfu/eslint-config": "^8.
|
|
58
|
+
"@antfu/eslint-config": "^8.1.1",
|
|
59
59
|
"@eslint-react/eslint-plugin": "^3.0.0",
|
|
60
|
-
"@next/eslint-plugin-next": "^16.2.
|
|
60
|
+
"@next/eslint-plugin-next": "^16.2.3",
|
|
61
61
|
"@prettier/plugin-xml": "^3.4.2",
|
|
62
|
-
"@unocss/eslint-plugin": "^66.6.
|
|
62
|
+
"@unocss/eslint-plugin": "^66.6.8",
|
|
63
63
|
"defu": "^6.1.7",
|
|
64
|
-
"eslint-plugin-astro": "^1.
|
|
64
|
+
"eslint-plugin-astro": "^1.7.0",
|
|
65
65
|
"eslint-plugin-format": "^2.0.1",
|
|
66
66
|
"eslint-plugin-jsdoc": "^62.9.0",
|
|
67
67
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
@@ -74,7 +74,6 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"eslint": "^10.2.0",
|
|
77
|
-
"vitest": "^4.1.3",
|
|
78
77
|
"@tofrankie/tsconfig": "0.0.5"
|
|
79
78
|
},
|
|
80
79
|
"scripts": {
|