@so1ve/eslint-config 2.0.0 → 3.1.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.
Files changed (4) hide show
  1. package/dist/index.d.ts +13528 -86
  2. package/dist/index.js +33462 -0
  3. package/package.json +32 -34
  4. package/dist/index.mjs +0 -1633
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-config",
3
- "version": "2.0.0",
3
+ "version": "3.1.0",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "type": "module",
6
6
  "description": "Ray's eslint config.",
@@ -20,10 +20,10 @@
20
20
  "exports": {
21
21
  ".": {
22
22
  "types": "./dist/index.d.ts",
23
- "import": "./dist/index.mjs"
23
+ "import": "./dist/index.js"
24
24
  }
25
25
  },
26
- "main": "./dist/index.mjs",
26
+ "main": "./dist/index.js",
27
27
  "types": "./dist/index.d.ts",
28
28
  "files": [
29
29
  "dist"
@@ -32,58 +32,56 @@
32
32
  "access": "public"
33
33
  },
34
34
  "dependencies": {
35
- "@eslint-community/eslint-plugin-eslint-comments": "^4.1.0",
36
- "@html-eslint/eslint-plugin": "^0.23.1",
37
- "@html-eslint/parser": "^0.23.0",
38
- "@stylistic/eslint-plugin": "^1.6.2",
39
- "@unocss/eslint-config": "^0.58.5",
40
- "eslint-config-flat-gitignore": "^0.1.3",
41
- "eslint-define-config": "^1.21.0",
35
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
36
+ "@html-eslint/eslint-plugin": "^0.24.1",
37
+ "@html-eslint/parser": "^0.24.1",
38
+ "@stylistic/eslint-plugin": "^2.1.0",
39
+ "@unocss/eslint-config": "^0.60.4",
40
+ "eslint-config-flat-gitignore": "^0.1.5",
41
+ "eslint-flat-config-utils": "^0.2.5",
42
42
  "eslint-import-resolver-typescript": "^3.6.1",
43
43
  "eslint-mdx": "^2.3.4",
44
44
  "eslint-plugin-array-func": "^5.0.1",
45
45
  "eslint-plugin-case-police": "^0.6.1",
46
- "eslint-plugin-etc": "^2.0.3",
47
46
  "eslint-plugin-html": "^7.1.0",
48
- "eslint-plugin-i": "2.29.0",
49
47
  "eslint-plugin-jest-formatting": "^3.1.0",
50
- "eslint-plugin-json-schema-validator": "^4.8.3",
51
- "eslint-plugin-jsonc": "^2.13.0",
48
+ "eslint-plugin-jsonc": "^2.16.0",
52
49
  "eslint-plugin-mdx": "^2.3.4",
53
- "eslint-plugin-n": "^16.6.2",
50
+ "eslint-plugin-n": "^17.8.1",
54
51
  "eslint-plugin-no-await-in-promise": "1.1.5",
55
52
  "eslint-plugin-no-explicit-type-exports": "^0.12.1",
56
53
  "eslint-plugin-no-only-tests": "^3.1.0",
57
54
  "eslint-plugin-only-error": "^1.0.2",
58
- "eslint-plugin-promise": "^6.1.1",
59
- "eslint-plugin-regexp": "^2.2.0",
60
- "eslint-plugin-solid": "^0.13.1",
61
- "eslint-plugin-toml": "^0.9.2",
62
- "eslint-plugin-unicorn": "^51.0.1",
63
- "eslint-plugin-unused-imports": "^3.1.0",
64
- "eslint-plugin-vitest": "^0.3.22",
65
- "eslint-plugin-vue": "^9.22.0",
66
- "eslint-plugin-yml": "^1.12.2",
67
- "globals": "^14.0.0",
55
+ "eslint-plugin-promise": "^6.2.0",
56
+ "eslint-plugin-regexp": "^2.6.0",
57
+ "eslint-plugin-solid": "^0.14.0",
58
+ "eslint-plugin-toml": "^0.11.0",
59
+ "eslint-plugin-unicorn": "^53.0.0",
60
+ "eslint-plugin-unused-imports": "^4.0.0",
61
+ "eslint-plugin-vitest": "^0.5.4",
62
+ "eslint-plugin-vue": "^9.26.0",
63
+ "eslint-plugin-yml": "^1.14.0",
64
+ "globals": "^15.4.0",
68
65
  "jsonc-eslint-parser": "^2.4.0",
69
66
  "local-pkg": "^0.5.0",
70
67
  "toml-eslint-parser": "^0.9.3",
71
- "typescript-eslint": "^7.1.0",
72
- "vue-eslint-parser": "^9.4.2",
73
- "yaml-eslint-parser": "^1.2.2",
74
- "@so1ve/eslint-plugin": "2.0.0",
75
- "@so1ve/eslint-plugin-sort-imports": "2.0.0"
68
+ "typescript-eslint": "^7.12.0",
69
+ "vue-eslint-parser": "^9.4.3",
70
+ "yaml-eslint-parser": "^1.2.3",
71
+ "@so1ve/eslint-plugin-sort-imports": "3.1.0",
72
+ "@so1ve/eslint-plugin": "3.1.0"
76
73
  },
77
74
  "devDependencies": {
78
- "@typescript-eslint/utils": "^7.1.0",
79
- "eslint": "^8.57.0"
75
+ "@typescript-eslint/utils": "^7.12.0",
76
+ "eslint-plugin-import-x": "^0.4.4"
80
77
  },
81
78
  "peerDependencies": {
82
79
  "eslint": ">=8.40.0",
83
80
  "prettier": "^3.0.0"
84
81
  },
85
82
  "scripts": {
86
- "build": "pkgroll",
87
- "watch": "pkgroll -w"
83
+ "build": "nr typegen && tsup",
84
+ "typegen": "tsx ./scripts/typegen.ts",
85
+ "watch": "tsup --watch"
88
86
  }
89
87
  }