@july_cm/eslint-config 2.5.1 → 2.5.2
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 +7 -7
- package/dist/index.js +1 -1
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -26,18 +26,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
//#endregion
|
|
27
27
|
let eslint_config = require("eslint/config");
|
|
28
28
|
let _eslint_css = require("@eslint/css");
|
|
29
|
-
_eslint_css = __toESM(_eslint_css);
|
|
29
|
+
_eslint_css = __toESM(_eslint_css, 1);
|
|
30
30
|
let eslint_plugin_prettier = require("eslint-plugin-prettier");
|
|
31
|
-
eslint_plugin_prettier = __toESM(eslint_plugin_prettier);
|
|
31
|
+
eslint_plugin_prettier = __toESM(eslint_plugin_prettier, 1);
|
|
32
32
|
let tailwind_csstree = require("tailwind-csstree");
|
|
33
33
|
let _eslint_js = require("@eslint/js");
|
|
34
|
-
_eslint_js = __toESM(_eslint_js);
|
|
34
|
+
_eslint_js = __toESM(_eslint_js, 1);
|
|
35
35
|
let eslint_plugin_simple_import_sort = require("eslint-plugin-simple-import-sort");
|
|
36
|
-
eslint_plugin_simple_import_sort = __toESM(eslint_plugin_simple_import_sort);
|
|
36
|
+
eslint_plugin_simple_import_sort = __toESM(eslint_plugin_simple_import_sort, 1);
|
|
37
37
|
let eslint_plugin_prettier_recommended = require("eslint-plugin-prettier/recommended");
|
|
38
|
-
eslint_plugin_prettier_recommended = __toESM(eslint_plugin_prettier_recommended);
|
|
38
|
+
eslint_plugin_prettier_recommended = __toESM(eslint_plugin_prettier_recommended, 1);
|
|
39
39
|
let eslint_plugin_jsonc = require("eslint-plugin-jsonc");
|
|
40
|
-
eslint_plugin_jsonc = __toESM(eslint_plugin_jsonc);
|
|
40
|
+
eslint_plugin_jsonc = __toESM(eslint_plugin_jsonc, 1);
|
|
41
41
|
let typescript_eslint = require("typescript-eslint");
|
|
42
42
|
//#region src/configs/css.ts
|
|
43
43
|
var cssConfig = (0, eslint_config.defineConfig)([{
|
|
@@ -96,7 +96,7 @@ var javascriptConfig = (0, eslint_config.defineConfig)({
|
|
|
96
96
|
* 可以借助这个函数为所有插件添加 files 约束,防止语言之间的污染
|
|
97
97
|
*/
|
|
98
98
|
var packageJsonConfig = (0, eslint_config.defineConfig)({
|
|
99
|
-
extends: [...eslint_plugin_jsonc.default.configs["
|
|
99
|
+
extends: [...eslint_plugin_jsonc.default.configs["base"]],
|
|
100
100
|
files: ["package.json"],
|
|
101
101
|
rules: { "jsonc/sort-keys": [
|
|
102
102
|
"warn",
|
package/dist/index.js
CHANGED
|
@@ -64,7 +64,7 @@ var javascriptConfig = defineConfig({
|
|
|
64
64
|
* 可以借助这个函数为所有插件添加 files 约束,防止语言之间的污染
|
|
65
65
|
*/
|
|
66
66
|
var packageJsonConfig = defineConfig({
|
|
67
|
-
extends: [...eslintPluginJsonc.configs["
|
|
67
|
+
extends: [...eslintPluginJsonc.configs["base"]],
|
|
68
68
|
files: ["package.json"],
|
|
69
69
|
rules: { "jsonc/sort-keys": [
|
|
70
70
|
"warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@july_cm/eslint-config",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"description": "Shared ESLint config for July's projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
"test:cov": "vitest run --coverage"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@eslint/css": "^1.
|
|
44
|
+
"@eslint/css": "^1.2.0",
|
|
45
45
|
"@eslint/js": "^10.0.1",
|
|
46
46
|
"eslint-config-prettier": "^10.1.8",
|
|
47
|
-
"eslint-plugin-jsonc": "^
|
|
47
|
+
"eslint-plugin-jsonc": "^3.1.2",
|
|
48
48
|
"eslint-plugin-prettier": "^5.5.4",
|
|
49
|
-
"eslint-plugin-simple-import-sort": "^
|
|
49
|
+
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
50
50
|
"tailwind-csstree": "^0.3.0",
|
|
51
|
-
"typescript-eslint": "^8.
|
|
51
|
+
"typescript-eslint": "^8.59.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@vitest/coverage-v8": "^4.1.
|
|
55
|
-
"eslint": "^10.
|
|
54
|
+
"@vitest/coverage-v8": "^4.1.5",
|
|
55
|
+
"eslint": "^10.3.0",
|
|
56
56
|
"typescript": "^5.9.3",
|
|
57
|
-
"vite": "^8.0.
|
|
58
|
-
"vitest": "^4.1.
|
|
57
|
+
"vite": "^8.0.10",
|
|
58
|
+
"vitest": "^4.1.5"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"eslint": "^10",
|