@so1ve/eslint-config 3.3.2 → 3.5.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/dist/index.js CHANGED
@@ -158,6 +158,7 @@ async function formatting(options) {
158
158
  "so1ve/pad-after-last-import": "error",
159
159
  "so1ve/function-style": "error",
160
160
  "style/quote-props": ["error", "consistent-as-needed"],
161
+ "style/curly-newline": ["error", { minElements: 1 }],
161
162
  "style/padding-line-between-statements": ["error", {
162
163
  blankLine: "always",
163
164
  prev: "*",
@@ -893,7 +894,7 @@ const sortImports = () => [{
893
894
  //#region src/configs/test.ts
894
895
  async function test({ overrides } = {}) {
895
896
  const pluginNoOnlyTests = await interopDefault(import("eslint-plugin-no-only-tests"));
896
- const pluginVitest = await interopDefault(import("eslint-plugin-vitest"));
897
+ const pluginVitest = await interopDefault(import("@vitest/eslint-plugin"));
897
898
  const pluginJestFormatting = await interopDefault(import("eslint-plugin-jest-formatting"));
898
899
  return [{
899
900
  name: "so1ve/test/setup",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-config",
3
- "version": "3.3.2",
3
+ "version": "3.5.0",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "type": "module",
6
6
  "description": "Ray's eslint config.",
@@ -33,23 +33,24 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
36
- "@html-eslint/eslint-plugin": "^0.41.0",
37
- "@html-eslint/parser": "^0.41.0",
38
- "@stylistic/eslint-plugin": "^4.4.1",
36
+ "@html-eslint/eslint-plugin": "^0.42.0",
37
+ "@html-eslint/parser": "^0.42.0",
38
+ "@stylistic/eslint-plugin": "^5.0.0",
39
39
  "@unocss/eslint-config": "^66.2.0",
40
+ "@vitest/eslint-plugin": "^1.2.7",
40
41
  "eslint-config-flat-gitignore": "^2.1.0",
41
42
  "eslint-flat-config-utils": "^2.1.0",
42
43
  "eslint-import-resolver-typescript": "^4.4.3",
43
44
  "eslint-mdx": "^3.4.2",
44
45
  "eslint-plugin-array-func": "^5.0.2",
45
46
  "eslint-plugin-case-police": "^2.0.0",
46
- "eslint-plugin-html": "^7.1.0",
47
+ "eslint-plugin-html": "^8.1.3",
47
48
  "eslint-plugin-import-x": "^4.15.2",
48
49
  "eslint-plugin-jest-formatting": "^3.1.0",
49
50
  "eslint-plugin-jsonc": "^2.20.1",
50
51
  "eslint-plugin-mdx": "^3.4.2",
51
52
  "eslint-plugin-n": "^17.20.0",
52
- "eslint-plugin-no-await-in-promise": "1.1.5",
53
+ "eslint-plugin-no-await-in-promise": "^2.0.1",
53
54
  "eslint-plugin-no-explicit-type-exports": "^0.12.1",
54
55
  "eslint-plugin-no-only-tests": "^3.3.0",
55
56
  "eslint-plugin-only-error": "^1.0.2",
@@ -59,7 +60,6 @@
59
60
  "eslint-plugin-toml": "^0.12.0",
60
61
  "eslint-plugin-unicorn": "^59.0.1",
61
62
  "eslint-plugin-unused-imports": "^4.1.4",
62
- "eslint-plugin-vitest": "^0.5.4",
63
63
  "eslint-plugin-vue": "^10.2.0",
64
64
  "eslint-plugin-yml": "^1.18.0",
65
65
  "globals": "^16.2.0",
@@ -69,8 +69,8 @@
69
69
  "typescript-eslint": "^8.34.0",
70
70
  "vue-eslint-parser": "^10.1.3",
71
71
  "yaml-eslint-parser": "^1.3.0",
72
- "@so1ve/eslint-plugin": "3.3.2",
73
- "@so1ve/eslint-plugin-sort-imports": "3.3.2"
72
+ "@so1ve/eslint-plugin": "3.5.0",
73
+ "@so1ve/eslint-plugin-sort-imports": "3.5.0"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@typescript-eslint/utils": "^8.34.0"