@so1ve/eslint-config 3.21.0 → 3.22.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +897 -461
  2. package/dist/index.js +5 -3
  3. package/package.json +21 -21
package/dist/index.js CHANGED
@@ -204,10 +204,10 @@ async function formatting(options) {
204
204
  rules: {
205
205
  "curly": ["error", "all"],
206
206
  "so1ve/function-style": "error",
207
+ "so1ve/import-export-newline": "error",
207
208
  "so1ve/no-import-promises-as": "error",
208
209
  "so1ve/no-negated-comparison": "error",
209
210
  "so1ve/no-useless-template-string": "error",
210
- "so1ve/pad-after-last-import": "error",
211
211
  "style/lines-between-class-members": [
212
212
  "error",
213
213
  "always",
@@ -405,7 +405,9 @@ async function html() {
405
405
  "html/no-extra-spacing-attrs": "off",
406
406
  "html/no-trailing-spaces": "off",
407
407
  "html/quotes": "off",
408
- "html/require-closing-tags": "off"
408
+ "html/require-closing-tags": "off",
409
+ "so1ve/html-spaced-comment": "error",
410
+ "style/spaced-comment": "off"
409
411
  }
410
412
  }];
411
413
  }
@@ -498,7 +500,7 @@ async function javascript({ overrides } = {}) {
498
500
  plugins: {
499
501
  "array-func": pluginArrayFunc,
500
502
  "no-await-in-promise": pluginNoAwaitInPromise,
501
- "so1ve": await interopDefault(pluginSo1ve),
503
+ "so1ve": pluginSo1ve,
502
504
  "sort-imports": pluginSortImports,
503
505
  "unused-imports": pluginUnusedImports
504
506
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-config",
3
- "version": "3.21.0",
3
+ "version": "3.22.1",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "type": "module",
6
6
  "description": "Ray's eslint config.",
@@ -33,13 +33,13 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
36
- "@html-eslint/eslint-plugin": "^0.49.0",
37
- "@html-eslint/parser": "^0.49.0",
36
+ "@html-eslint/eslint-plugin": "^0.52.0",
37
+ "@html-eslint/parser": "^0.52.0",
38
38
  "@stylistic/eslint-plugin": "^5.6.1",
39
- "@typescript-eslint/parser": "^8.47.0",
40
- "@typescript-eslint/utils": "^8.47.0",
41
- "@unocss/eslint-config": "^66.5.9",
42
- "@vitest/eslint-plugin": "^1.4.3",
39
+ "@typescript-eslint/parser": "^8.50.1",
40
+ "@typescript-eslint/utils": "^8.50.1",
41
+ "@unocss/eslint-config": "^66.5.10",
42
+ "@vitest/eslint-plugin": "^1.6.4",
43
43
  "astro-eslint-parser": "^1.2.2",
44
44
  "eslint-config-flat-gitignore": "^2.1.0",
45
45
  "eslint-flat-config-utils": "^2.1.4",
@@ -48,9 +48,9 @@
48
48
  "eslint-plugin-array-func": "^5.1.0",
49
49
  "eslint-plugin-astro": "^1.5.0",
50
50
  "eslint-plugin-case-police": "^2.1.1",
51
- "eslint-plugin-command": "^3.3.1",
51
+ "eslint-plugin-command": "^3.4.0",
52
52
  "eslint-plugin-html": "^8.1.3",
53
- "eslint-plugin-import-lite": "^0.3.0",
53
+ "eslint-plugin-import-lite": "^0.4.0",
54
54
  "eslint-plugin-import-x": "^4.16.1",
55
55
  "eslint-plugin-jest-formatting": "^3.1.0",
56
56
  "eslint-plugin-jsonc": "^2.21.0",
@@ -60,29 +60,29 @@
60
60
  "eslint-plugin-no-explicit-type-exports": "^0.12.1",
61
61
  "eslint-plugin-no-only-tests": "^3.3.0",
62
62
  "eslint-plugin-only-error": "^1.0.2",
63
- "eslint-plugin-perfectionist": "^4.15.1",
64
- "eslint-plugin-pnpm": "^1.3.0",
63
+ "eslint-plugin-perfectionist": "^5.1.0",
64
+ "eslint-plugin-pnpm": "^1.4.3",
65
65
  "eslint-plugin-promise": "^7.2.1",
66
66
  "eslint-plugin-regexp": "^2.10.0",
67
67
  "eslint-plugin-solid": "^0.14.5",
68
68
  "eslint-plugin-toml": "^0.12.0",
69
69
  "eslint-plugin-unicorn": "^62.0.0",
70
70
  "eslint-plugin-unused-imports": "^4.3.0",
71
- "eslint-plugin-vue": "^10.5.1",
72
- "eslint-plugin-yml": "^1.19.0",
71
+ "eslint-plugin-vue": "^10.6.2",
72
+ "eslint-plugin-yml": "^1.19.1",
73
73
  "globals": "^16.5.0",
74
- "jsonc-eslint-parser": "^2.4.1",
74
+ "jsonc-eslint-parser": "^2.4.2",
75
75
  "local-pkg": "^1.1.2",
76
- "toml-eslint-parser": "^0.10.0",
77
- "typescript-eslint": "^8.47.0",
76
+ "toml-eslint-parser": "^0.10.1",
77
+ "typescript-eslint": "^8.50.1",
78
78
  "vue-eslint-parser": "^10.2.0",
79
- "yaml-eslint-parser": "^1.3.0",
80
- "@so1ve/eslint-plugin": "3.21.0",
81
- "@so1ve/eslint-plugin-sort-imports": "3.21.0"
79
+ "yaml-eslint-parser": "^1.3.2",
80
+ "@so1ve/eslint-plugin": "3.22.1",
81
+ "@so1ve/eslint-plugin-sort-imports": "3.22.1"
82
82
  },
83
83
  "peerDependencies": {
84
- "eslint": "^9.39.1",
85
- "prettier": "^3.6.2"
84
+ "eslint": "^9.39.2",
85
+ "prettier": "^3.7.4"
86
86
  },
87
87
  "scripts": {
88
88
  "typegen": "tsx ./scripts/typegen.ts"