@lincy/eslint-config 5.6.0 → 5.6.1
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.d.cts +227 -136
- package/dist/index.d.ts +227 -136
- package/dist/index.js +2 -2
- package/package.json +29 -29
package/dist/index.js
CHANGED
|
@@ -772,7 +772,7 @@ async function jsonc(options = {}) {
|
|
|
772
772
|
multiline: true
|
|
773
773
|
}],
|
|
774
774
|
"jsonc/object-curly-spacing": ["error", "always"],
|
|
775
|
-
"jsonc/object-property-newline": ["error", {
|
|
775
|
+
"jsonc/object-property-newline": ["error", { allowAllPropertiesOnSameLine: true }],
|
|
776
776
|
"jsonc/quote-props": "error",
|
|
777
777
|
"jsonc/quotes": "error"
|
|
778
778
|
} : {},
|
|
@@ -1833,7 +1833,7 @@ async function vue(options = {}) {
|
|
|
1833
1833
|
}],
|
|
1834
1834
|
"vue/object-curly-newline": "off",
|
|
1835
1835
|
"vue/object-curly-spacing": ["error", "always"],
|
|
1836
|
-
"vue/object-property-newline": ["error", {
|
|
1836
|
+
"vue/object-property-newline": ["error", { allowAllPropertiesOnSameLine: true }],
|
|
1837
1837
|
"vue/operator-linebreak": ["error", "before"],
|
|
1838
1838
|
"vue/padding-line-between-blocks": ["error", "always"],
|
|
1839
1839
|
"vue/quote-props": ["error", "consistent-as-needed"],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lincy/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.6.
|
|
4
|
+
"version": "5.6.1",
|
|
5
5
|
"description": "LinCenYing's ESLint config",
|
|
6
6
|
"author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -52,33 +52,33 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@antfu/install-pkg": "^1.1.0",
|
|
55
|
-
"@clack/prompts": "^0.
|
|
55
|
+
"@clack/prompts": "^0.11.0",
|
|
56
56
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
57
|
-
"@eslint/markdown": "^6.
|
|
58
|
-
"@stylistic/eslint-plugin": "^4.
|
|
59
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
60
|
-
"@typescript-eslint/parser": "^8.
|
|
61
|
-
"@vitest/eslint-plugin": "^1.2.
|
|
57
|
+
"@eslint/markdown": "^6.5.0",
|
|
58
|
+
"@stylistic/eslint-plugin": "^4.4.1",
|
|
59
|
+
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
|
60
|
+
"@typescript-eslint/parser": "^8.34.0",
|
|
61
|
+
"@vitest/eslint-plugin": "^1.2.1",
|
|
62
62
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
63
63
|
"eslint-flat-config-utils": "^2.1.0",
|
|
64
64
|
"eslint-merge-processors": "^2.0.0",
|
|
65
65
|
"eslint-parser-plain": "^0.1.1",
|
|
66
66
|
"eslint-plugin-antfu": "^3.1.1",
|
|
67
|
-
"eslint-plugin-import-x": "^4.
|
|
68
|
-
"eslint-plugin-jsdoc": "^50.
|
|
67
|
+
"eslint-plugin-import-x": "^4.15.1",
|
|
68
|
+
"eslint-plugin-jsdoc": "^50.7.1",
|
|
69
69
|
"eslint-plugin-jsonc": "^2.20.1",
|
|
70
|
-
"eslint-plugin-n": "^17.
|
|
70
|
+
"eslint-plugin-n": "^17.19.0",
|
|
71
71
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
72
|
-
"eslint-plugin-perfectionist": "^4.
|
|
72
|
+
"eslint-plugin-perfectionist": "^4.14.0",
|
|
73
73
|
"eslint-plugin-pnpm": "^0.3.1",
|
|
74
|
-
"eslint-plugin-regexp": "^2.
|
|
74
|
+
"eslint-plugin-regexp": "^2.9.0",
|
|
75
75
|
"eslint-plugin-toml": "^0.12.0",
|
|
76
76
|
"eslint-plugin-unicorn": "^59.0.1",
|
|
77
77
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
78
|
-
"eslint-plugin-vue": "^10.
|
|
78
|
+
"eslint-plugin-vue": "^10.2.0",
|
|
79
79
|
"eslint-plugin-yml": "^1.18.0",
|
|
80
80
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
81
|
-
"globals": "^16.
|
|
81
|
+
"globals": "^16.2.0",
|
|
82
82
|
"jsonc-eslint-parser": "^2.4.0",
|
|
83
83
|
"local-pkg": "^1.1.1",
|
|
84
84
|
"prompts": "^2.4.2",
|
|
@@ -87,36 +87,36 @@
|
|
|
87
87
|
"yaml-eslint-parser": "^1.3.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@antfu/ni": "^
|
|
91
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
90
|
+
"@antfu/ni": "^25.0.0",
|
|
91
|
+
"@eslint-react/eslint-plugin": "^1.51.3",
|
|
92
92
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
93
93
|
"@eslint-types/unicorn": "^52.0.0",
|
|
94
|
-
"@eslint/config-inspector": "^1.0
|
|
94
|
+
"@eslint/config-inspector": "^1.1.0",
|
|
95
95
|
"@prettier/plugin-xml": "^3.4.1",
|
|
96
|
-
"@stylistic/eslint-plugin-migrate": "^4.
|
|
97
|
-
"@types/node": "^
|
|
98
|
-
"@types/react": "^19.1.
|
|
99
|
-
"@unocss/eslint-plugin": "^66.1.
|
|
96
|
+
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
97
|
+
"@types/node": "^24.0.0",
|
|
98
|
+
"@types/react": "^19.1.7",
|
|
99
|
+
"@unocss/eslint-plugin": "^66.1.4",
|
|
100
100
|
"bumpp": "^10.1.1",
|
|
101
|
-
"eslint": "^9.
|
|
101
|
+
"eslint": "^9.28.0",
|
|
102
102
|
"eslint-plugin-format": "^1.0.1",
|
|
103
103
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
104
104
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
105
105
|
"eslint-typegen": "^2.2.0",
|
|
106
106
|
"esno": "^4.8.0",
|
|
107
|
-
"execa": "^9.
|
|
108
|
-
"lint-staged": "^16.
|
|
107
|
+
"execa": "^9.6.0",
|
|
108
|
+
"lint-staged": "^16.1.0",
|
|
109
109
|
"prettier": "^3.5.3",
|
|
110
110
|
"react": "^19.1.0",
|
|
111
111
|
"simple-git-hooks": "^2.13.0",
|
|
112
112
|
"simple-open-url": "^3.0.1",
|
|
113
113
|
"sucrase": "^3.35.0",
|
|
114
|
-
"tinyglobby": "^0.2.
|
|
115
|
-
"tsdown": "^0.
|
|
114
|
+
"tinyglobby": "^0.2.14",
|
|
115
|
+
"tsdown": "^0.12.7",
|
|
116
116
|
"typescript": "^5.8.3",
|
|
117
|
-
"vitest": "^3.
|
|
118
|
-
"vue": "^3.5.
|
|
119
|
-
"@lincy/eslint-config": "5.6.
|
|
117
|
+
"vitest": "^3.2.3",
|
|
118
|
+
"vue": "^3.5.16",
|
|
119
|
+
"@lincy/eslint-config": "5.6.1"
|
|
120
120
|
},
|
|
121
121
|
"simple-git-hooks": {
|
|
122
122
|
"pre-commit": "npx lint-staged"
|