@so1ve/eslint-config 4.3.0 → 4.6.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/configs/astro.mjs +1 -3
- package/dist/configs/command.mjs +1 -3
- package/dist/configs/comments.mjs +1 -3
- package/dist/configs/de-morgan.mjs +1 -3
- package/dist/configs/formatting.mjs +4 -6
- package/dist/configs/html.mjs +1 -3
- package/dist/configs/ignores.mjs +4 -6
- package/dist/configs/imports.mjs +1 -3
- package/dist/configs/index.mjs +25 -26
- package/dist/configs/javascript.mjs +1 -3
- package/dist/configs/jsonc.mjs +34 -9
- package/dist/configs/mdx.mjs +1 -3
- package/dist/configs/node.mjs +1 -3
- package/dist/configs/only-error.mjs +1 -3
- package/dist/configs/perfectionist.mjs +1 -3
- package/dist/configs/pnpm.mjs +6 -18
- package/dist/configs/promise.mjs +1 -3
- package/dist/configs/solid.mjs +1 -3
- package/dist/configs/sort-imports.mjs +1 -2
- package/dist/configs/test.mjs +2 -9
- package/dist/configs/toml.mjs +5 -4
- package/dist/configs/typescript.mjs +1 -3
- package/dist/configs/unicorn.mjs +1 -3
- package/dist/configs/vue.mjs +3 -6
- package/dist/configs/yaml.mjs +20 -6
- package/dist/factory.mjs +1 -3
- package/dist/globs.mjs +1 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.mjs +1 -2
- package/dist/plugins.mjs +1 -2
- package/dist/typegen.d.mts +2377 -2029
- package/dist/types.d.mts +1 -1
- package/dist/utils.d.mts +0 -1
- package/dist/utils.mjs +1 -2
- package/package.json +44 -48
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RuleOptions } from "./typegen.mjs";
|
|
2
|
-
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
3
2
|
import { ParserOptions } from "@typescript-eslint/utils/ts-eslint";
|
|
4
3
|
import { Linter } from "eslint";
|
|
4
|
+
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
5
5
|
|
|
6
6
|
//#region src/types.d.ts
|
|
7
7
|
type MaybePromise<T> = T | Promise<T>;
|
package/dist/utils.d.mts
CHANGED
package/dist/utils.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@so1ve/eslint-config",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Ray's eslint config.",
|
|
@@ -21,8 +21,6 @@
|
|
|
21
21
|
".": "./dist/index.mjs",
|
|
22
22
|
"./package.json": "./package.json"
|
|
23
23
|
},
|
|
24
|
-
"main": "./dist/index.mjs",
|
|
25
|
-
"module": "./dist/index.mjs",
|
|
26
24
|
"types": "./dist/index.d.mts",
|
|
27
25
|
"files": [
|
|
28
26
|
"dist"
|
|
@@ -31,58 +29,56 @@
|
|
|
31
29
|
"access": "public"
|
|
32
30
|
},
|
|
33
31
|
"dependencies": {
|
|
34
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.
|
|
35
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
36
|
-
"@html-eslint/parser": "^0.
|
|
37
|
-
"@stylistic/eslint-plugin": "^5.
|
|
38
|
-
"@typescript-eslint/parser": "^8.
|
|
39
|
-
"@typescript-eslint/utils": "^8.
|
|
40
|
-
"@unocss/eslint-config": "^66.
|
|
41
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
42
|
-
"astro-eslint-parser": "^1.
|
|
43
|
-
"eslint-config-flat-gitignore": "^2.
|
|
44
|
-
"eslint-flat-config-utils": "^2.
|
|
45
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
46
|
-
"eslint-mdx": "^3.
|
|
47
|
-
"eslint-plugin-array-func": "^5.1.
|
|
48
|
-
"eslint-plugin-astro": "^1.
|
|
49
|
-
"eslint-plugin-case-police": "^2.
|
|
50
|
-
"eslint-plugin-command": "^3.
|
|
51
|
-
"eslint-plugin-de-morgan": "^2.
|
|
52
|
-
"eslint-plugin-html": "^8.1.
|
|
53
|
-
"eslint-plugin-import-lite": "^0.
|
|
54
|
-
"eslint-plugin-import-x": "^4.16.
|
|
55
|
-
"eslint-plugin-
|
|
56
|
-
"eslint-plugin-
|
|
57
|
-
"eslint-plugin-
|
|
58
|
-
"eslint-plugin-n": "^17.23.1",
|
|
32
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
33
|
+
"@html-eslint/eslint-plugin": "^0.61.0",
|
|
34
|
+
"@html-eslint/parser": "^0.61.0",
|
|
35
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
36
|
+
"@typescript-eslint/parser": "^8.61.0",
|
|
37
|
+
"@typescript-eslint/utils": "^8.61.0",
|
|
38
|
+
"@unocss/eslint-config": "^66.7.0",
|
|
39
|
+
"@vitest/eslint-plugin": "^1.6.19",
|
|
40
|
+
"astro-eslint-parser": "^1.4.0",
|
|
41
|
+
"eslint-config-flat-gitignore": "^2.3.0",
|
|
42
|
+
"eslint-flat-config-utils": "^3.2.0",
|
|
43
|
+
"eslint-import-resolver-typescript": "^4.4.5",
|
|
44
|
+
"eslint-mdx": "^3.8.1",
|
|
45
|
+
"eslint-plugin-array-func": "^5.1.1",
|
|
46
|
+
"eslint-plugin-astro": "^1.7.0",
|
|
47
|
+
"eslint-plugin-case-police": "^2.2.1",
|
|
48
|
+
"eslint-plugin-command": "^3.5.2",
|
|
49
|
+
"eslint-plugin-de-morgan": "^2.1.2",
|
|
50
|
+
"eslint-plugin-html": "^8.1.4",
|
|
51
|
+
"eslint-plugin-import-lite": "^0.6.0",
|
|
52
|
+
"eslint-plugin-import-x": "^4.16.2",
|
|
53
|
+
"eslint-plugin-jsonc": "^3.2.0",
|
|
54
|
+
"eslint-plugin-mdx": "^3.8.1",
|
|
55
|
+
"eslint-plugin-n": "^18.1.0",
|
|
59
56
|
"eslint-plugin-no-await-in-promise": "^3.0.1",
|
|
60
57
|
"eslint-plugin-no-explicit-type-exports": "^0.12.1",
|
|
61
|
-
"eslint-plugin-no-only-tests": "^3.
|
|
58
|
+
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
62
59
|
"eslint-plugin-only-error": "^1.0.2",
|
|
63
|
-
"eslint-plugin-perfectionist": "^5.
|
|
64
|
-
"eslint-plugin-pnpm": "^1.
|
|
65
|
-
"eslint-plugin-promise": "^7.
|
|
66
|
-
"eslint-plugin-regexp": "^
|
|
60
|
+
"eslint-plugin-perfectionist": "^5.9.0",
|
|
61
|
+
"eslint-plugin-pnpm": "^1.6.1",
|
|
62
|
+
"eslint-plugin-promise": "^7.3.0",
|
|
63
|
+
"eslint-plugin-regexp": "^3.1.0",
|
|
67
64
|
"eslint-plugin-solid": "^0.14.5",
|
|
68
|
-
"eslint-plugin-toml": "^
|
|
69
|
-
"eslint-plugin-unicorn": "^
|
|
70
|
-
"eslint-plugin-unused-imports": "^4.
|
|
71
|
-
"eslint-plugin-vue": "^10.
|
|
72
|
-
"eslint-plugin-yml": "^
|
|
65
|
+
"eslint-plugin-toml": "^1.4.0",
|
|
66
|
+
"eslint-plugin-unicorn": "^65.0.0",
|
|
67
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
68
|
+
"eslint-plugin-vue": "^10.9.2",
|
|
69
|
+
"eslint-plugin-yml": "^3.4.0",
|
|
73
70
|
"find-up-simple": "^1.0.1",
|
|
74
|
-
"globals": "^
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"@so1ve/eslint-plugin": "4.3.0"
|
|
71
|
+
"globals": "^17.6.0",
|
|
72
|
+
"local-pkg": "^1.2.1",
|
|
73
|
+
"toml-eslint-parser": "^1.0.3",
|
|
74
|
+
"typescript-eslint": "^8.61.0",
|
|
75
|
+
"vue-eslint-parser": "^10.4.1",
|
|
76
|
+
"yaml-eslint-parser": "^2.0.0",
|
|
77
|
+
"@so1ve/eslint-plugin": "4.6.0"
|
|
82
78
|
},
|
|
83
79
|
"peerDependencies": {
|
|
84
|
-
"eslint": "^
|
|
85
|
-
"prettier": "^3.
|
|
80
|
+
"eslint": "^10.0.2",
|
|
81
|
+
"prettier": "^3.8.1"
|
|
86
82
|
},
|
|
87
83
|
"scripts": {
|
|
88
84
|
"typegen": "tsx ./scripts/typegen.ts"
|