@eienjs/eslint-config 1.9.1 → 1.9.3
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/cli/constants_generated.mjs +6 -6
- package/dist/cli/stages/update_eslint_files.mjs +4 -4
- package/dist/cli/stages/update_package_json.mjs +3 -3
- package/dist/cli/stages/update_vscode_settings.mjs +5 -5
- package/dist/configs/adonisjs.mjs +12 -2
- package/dist/configs/formatters.mjs +1 -1
- package/dist/configs/ignores.d.mts +1 -1
- package/dist/configs/ignores.mjs +3 -2
- package/dist/configs/jsdoc.mjs +2 -0
- package/dist/configs/node.mjs +2 -0
- package/dist/factory.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/node_modules/.pnpm/find-up-simple@1.0.1/node_modules/find-up-simple/index.mjs +2 -2
- package/dist/package.mjs +1 -1
- package/dist/typegen.d.mts +227 -168
- package/dist/types.d.mts +3 -1
- package/package.json +41 -38
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ConfigNames, RuleOptions } from "./typegen.mjs";
|
|
2
2
|
import { VendoredPrettierOptions } from "./vendored/prettier_types.mjs";
|
|
3
|
+
import { ConfigWithExtends } from "eslint-flat-config-utils";
|
|
3
4
|
import { StylisticCustomizeOptions } from "@stylistic/eslint-plugin";
|
|
4
5
|
import { ParserOptions } from "@typescript-eslint/parser";
|
|
5
6
|
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
@@ -14,7 +15,7 @@ type Rules = Record<string, Linter.RuleEntry | undefined> & RuleOptions;
|
|
|
14
15
|
* for `rules` and relaxes type limitations for `plugins` and `rules`, because
|
|
15
16
|
* many plugins still lack proper type definitions.
|
|
16
17
|
*/
|
|
17
|
-
type TypedFlatConfigItem = Omit<
|
|
18
|
+
type TypedFlatConfigItem = Omit<ConfigWithExtends, 'plugins' | 'rules'> & {
|
|
18
19
|
/**
|
|
19
20
|
* An object containing a name-value mapping of plugin names to plugin objects.
|
|
20
21
|
* When `files` is specified, these plugins are only available to the matching files.
|
|
@@ -122,6 +123,7 @@ interface OptionsAdonisJS extends OptionsOverrides {
|
|
|
122
123
|
listeners?: string;
|
|
123
124
|
events?: string;
|
|
124
125
|
middleware?: string;
|
|
126
|
+
transformers?: string;
|
|
125
127
|
validators?: string;
|
|
126
128
|
providers?: string;
|
|
127
129
|
policies?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eienjs/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.3",
|
|
5
5
|
"description": "EienJS ESLint Config",
|
|
6
6
|
"author": "Fernando Isidro <luffynando@gmail.com> (https://github.com/luffynando/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"node": ">=20.19"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@adonisjs/eslint-plugin": "^2.2.
|
|
38
|
-
"@nuxt/eslint-plugin": "^1.
|
|
37
|
+
"@adonisjs/eslint-plugin": "^2.2.2",
|
|
38
|
+
"@nuxt/eslint-plugin": "^1.15.1",
|
|
39
39
|
"@prettier/plugin-xml": "^3.4.2",
|
|
40
|
-
"astro-eslint-parser": "^1.
|
|
41
|
-
"eslint": "^9.39.2",
|
|
42
|
-
"eslint-plugin-astro": "^1.
|
|
40
|
+
"astro-eslint-parser": "^1.3.0",
|
|
41
|
+
"eslint": "^9.39.2 || ^10.0.1",
|
|
42
|
+
"eslint-plugin-astro": "^1.6.0",
|
|
43
43
|
"eslint-plugin-erasable-syntax-only": "^0.4.0",
|
|
44
|
-
"eslint-plugin-format": "^1.
|
|
44
|
+
"eslint-plugin-format": "^1.4.0",
|
|
45
45
|
"prettier-plugin-astro": "^0.14.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
@@ -72,33 +72,33 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@antfu/install-pkg": "^1.1.0",
|
|
75
|
-
"@clack/prompts": "^1.0.
|
|
75
|
+
"@clack/prompts": "^1.0.1",
|
|
76
76
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
|
|
77
77
|
"@eslint/markdown": "^7.5.1",
|
|
78
|
-
"@stylistic/eslint-plugin": "^5.
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
80
|
-
"@typescript-eslint/parser": "^8.
|
|
81
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
78
|
+
"@stylistic/eslint-plugin": "^5.9.0",
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
80
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
81
|
+
"@vitest/eslint-plugin": "^1.6.9",
|
|
82
82
|
"ansis": "^4.2.0",
|
|
83
83
|
"cac": "^6.7.14",
|
|
84
|
-
"eslint-config-flat-gitignore": "^2.1
|
|
85
|
-
"eslint-flat-config-utils": "^3.0.
|
|
84
|
+
"eslint-config-flat-gitignore": "^2.2.1",
|
|
85
|
+
"eslint-flat-config-utils": "^3.0.1",
|
|
86
86
|
"eslint-merge-processors": "^2.0.0",
|
|
87
|
-
"eslint-plugin-antfu": "^3.
|
|
87
|
+
"eslint-plugin-antfu": "^3.2.2",
|
|
88
88
|
"eslint-plugin-command": "^3.4.0",
|
|
89
|
-
"eslint-plugin-import-lite": "^0.5.
|
|
90
|
-
"eslint-plugin-jsdoc": "^62.
|
|
91
|
-
"eslint-plugin-jsonc": "^2.21.
|
|
92
|
-
"eslint-plugin-n": "^17.
|
|
89
|
+
"eslint-plugin-import-lite": "^0.5.1",
|
|
90
|
+
"eslint-plugin-jsdoc": "^62.7.0",
|
|
91
|
+
"eslint-plugin-jsonc": "^2.21.1",
|
|
92
|
+
"eslint-plugin-n": "^17.24.0",
|
|
93
93
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
94
|
-
"eslint-plugin-perfectionist": "^5.
|
|
94
|
+
"eslint-plugin-perfectionist": "^5.6.0",
|
|
95
95
|
"eslint-plugin-pnpm": "^1.5.0",
|
|
96
96
|
"eslint-plugin-regexp": "^3.0.0",
|
|
97
|
-
"eslint-plugin-toml": "^1.
|
|
98
|
-
"eslint-plugin-unicorn": "^
|
|
99
|
-
"eslint-plugin-unused-imports": "^4.
|
|
100
|
-
"eslint-plugin-vue": "^10.
|
|
101
|
-
"eslint-plugin-yml": "^3.
|
|
97
|
+
"eslint-plugin-toml": "^1.1.1",
|
|
98
|
+
"eslint-plugin-unicorn": "^63.0.0",
|
|
99
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
100
|
+
"eslint-plugin-vue": "^10.8.0",
|
|
101
|
+
"eslint-plugin-yml": "^3.2.1",
|
|
102
102
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
103
103
|
"globals": "^17.3.0",
|
|
104
104
|
"jsonc-eslint-parser": "^2.4.2",
|
|
@@ -106,35 +106,38 @@
|
|
|
106
106
|
"parse-gitignore": "^2.0.0",
|
|
107
107
|
"pathe": "^2.0.3",
|
|
108
108
|
"toml-eslint-parser": "^1.0.3",
|
|
109
|
-
"vue-eslint-parser": "^10.
|
|
109
|
+
"vue-eslint-parser": "^10.4.0",
|
|
110
110
|
"yaml-eslint-parser": "^2.0.0"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"@adonisjs/eslint-plugin": "^2.2.
|
|
114
|
-
"@commitlint/cli": "^20.4.
|
|
115
|
-
"@commitlint/config-conventional": "^20.4.
|
|
113
|
+
"@adonisjs/eslint-plugin": "^2.2.2",
|
|
114
|
+
"@commitlint/cli": "^20.4.2",
|
|
115
|
+
"@commitlint/config-conventional": "^20.4.2",
|
|
116
116
|
"@eslint/config-inspector": "^1.4.2",
|
|
117
|
-
"@nuxt/eslint-plugin": "^1.
|
|
117
|
+
"@nuxt/eslint-plugin": "^1.15.1",
|
|
118
118
|
"@prettier/plugin-xml": "^3.4.2",
|
|
119
|
-
"@types/node": "^
|
|
120
|
-
"astro-eslint-parser": "^1.
|
|
119
|
+
"@types/node": "^25.3.0",
|
|
120
|
+
"astro-eslint-parser": "^1.3.0",
|
|
121
121
|
"auto-changelog": "^2.5.0",
|
|
122
|
-
"
|
|
123
|
-
"eslint
|
|
122
|
+
"baseline-browser-mapping": "^2.10.0",
|
|
123
|
+
"eslint": "^9.39.3",
|
|
124
|
+
"eslint-plugin-astro": "^1.6.0",
|
|
124
125
|
"eslint-plugin-erasable-syntax-only": "^0.4.0",
|
|
125
|
-
"eslint-plugin-format": "^1.
|
|
126
|
-
"eslint-typegen": "^2.3.
|
|
126
|
+
"eslint-plugin-format": "^1.4.0",
|
|
127
|
+
"eslint-typegen": "^2.3.1",
|
|
127
128
|
"find-up-simple": "^1.0.1",
|
|
128
129
|
"husky": "^9.1.7",
|
|
129
130
|
"np": "^11.0.2",
|
|
130
131
|
"pnpm-workspace-yaml": "^1.5.0",
|
|
131
132
|
"prettier-plugin-astro": "^0.14.1",
|
|
132
|
-
"tsdown": "^0.20.
|
|
133
|
+
"tsdown": "^0.20.3",
|
|
133
134
|
"tsx": "^4.21.0",
|
|
134
135
|
"typescript": "^5.9.3"
|
|
135
136
|
},
|
|
136
137
|
"resolutions": {
|
|
137
|
-
"
|
|
138
|
+
"chokidar": "catalog:dev",
|
|
139
|
+
"eslint": "catalog:peer",
|
|
140
|
+
"tsx": "catalog:dev"
|
|
138
141
|
},
|
|
139
142
|
"commitlint": {
|
|
140
143
|
"extends": [
|