@jiakun-zhao/eslint-config 4.1.2 → 4.1.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/index.mjs +4 -2
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -6,6 +6,7 @@ import pluginAntfu from 'eslint-plugin-antfu';
|
|
|
6
6
|
import pluginCommand from 'eslint-plugin-command';
|
|
7
7
|
import pluginImportX from 'eslint-plugin-import-x';
|
|
8
8
|
import pluginJsonc from 'eslint-plugin-jsonc';
|
|
9
|
+
import pluginOxlint from 'eslint-plugin-oxlint';
|
|
9
10
|
import pluginPerfectionist from 'eslint-plugin-perfectionist';
|
|
10
11
|
import * as pluginRegExp from 'eslint-plugin-regexp';
|
|
11
12
|
import pluginUnicorn from 'eslint-plugin-unicorn';
|
|
@@ -374,7 +375,7 @@ function jsonc() {
|
|
|
374
375
|
];
|
|
375
376
|
}
|
|
376
377
|
|
|
377
|
-
const version = "4.1.
|
|
378
|
+
const version = "4.1.3";
|
|
378
379
|
|
|
379
380
|
const name$3 = "astro-multi-top-level-element-indent";
|
|
380
381
|
const _astroMultiTopLevelElementIndent = createRule({
|
|
@@ -1056,7 +1057,7 @@ async function vue() {
|
|
|
1056
1057
|
}
|
|
1057
1058
|
|
|
1058
1059
|
function index(options = {}) {
|
|
1059
|
-
|
|
1060
|
+
const result = composer(
|
|
1060
1061
|
ignores(options),
|
|
1061
1062
|
jsonc(),
|
|
1062
1063
|
javascript(),
|
|
@@ -1075,6 +1076,7 @@ function index(options = {}) {
|
|
|
1075
1076
|
unocss(),
|
|
1076
1077
|
overrides()
|
|
1077
1078
|
);
|
|
1079
|
+
return options.oxlint?.enable === false ? result : result.append(pluginOxlint.configs["flat/all"]).remove("oxlint/vue-svelte-exceptions").renamePlugins({ "@typescript-eslint": "ts", "import-x": "import" });
|
|
1078
1080
|
}
|
|
1079
1081
|
|
|
1080
1082
|
export { index as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jiakun-zhao/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.1.
|
|
4
|
+
"version": "4.1.3",
|
|
5
5
|
"description": "Jiakun Zhao's ESLint config.",
|
|
6
6
|
"author": "Jiakun Zhao <hi@zhaojiakun.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"eslint-plugin-command": "^3.2.0",
|
|
45
45
|
"eslint-plugin-import-x": "^4.11.0",
|
|
46
46
|
"eslint-plugin-jsonc": "^2.20.0",
|
|
47
|
+
"eslint-plugin-oxlint": "^0.16.8",
|
|
47
48
|
"eslint-plugin-perfectionist": "^4.12.3",
|
|
48
49
|
"eslint-plugin-regexp": "^2.7.0",
|
|
49
50
|
"eslint-plugin-unicorn": "^59.0.0",
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
"@types/node": "^22.15.3",
|
|
58
59
|
"@typescript-eslint/types": "^8.31.1",
|
|
59
60
|
"bumpp": "^10.1.0",
|
|
60
|
-
"eslint": "^9.
|
|
61
|
+
"eslint": "^9.26.0",
|
|
61
62
|
"eslint-plugin-astro": "^1.3.1",
|
|
62
63
|
"eslint-plugin-vue": "^10.1.0",
|
|
63
64
|
"eslint-typegen": "^2.1.0",
|