@jiakun-zhao/eslint-config 4.1.1 → 4.1.2
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 +3 -15
- package/package.json +2 -3
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { composer } from 'eslint-flat-config-utils';
|
|
2
2
|
import pluginStylistic from '@stylistic/eslint-plugin';
|
|
3
3
|
import pluginTypescript from '@typescript-eslint/eslint-plugin';
|
|
4
4
|
import pluginUnocss from '@unocss/eslint-plugin';
|
|
@@ -6,7 +6,6 @@ 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';
|
|
10
9
|
import pluginPerfectionist from 'eslint-plugin-perfectionist';
|
|
11
10
|
import * as pluginRegExp from 'eslint-plugin-regexp';
|
|
12
11
|
import pluginUnicorn from 'eslint-plugin-unicorn';
|
|
@@ -375,7 +374,7 @@ function jsonc() {
|
|
|
375
374
|
];
|
|
376
375
|
}
|
|
377
376
|
|
|
378
|
-
const version = "4.1.
|
|
377
|
+
const version = "4.1.2";
|
|
379
378
|
|
|
380
379
|
const name$3 = "astro-multi-top-level-element-indent";
|
|
381
380
|
const _astroMultiTopLevelElementIndent = createRule({
|
|
@@ -618,16 +617,6 @@ function overrides() {
|
|
|
618
617
|
];
|
|
619
618
|
}
|
|
620
619
|
|
|
621
|
-
function oxlint() {
|
|
622
|
-
return {
|
|
623
|
-
name: "oxlint",
|
|
624
|
-
rules: renamePluginsInRules(pluginOxlint.configs.all.rules, {
|
|
625
|
-
"@typescript-eslint": "ts",
|
|
626
|
-
"import": "import-x"
|
|
627
|
-
})
|
|
628
|
-
};
|
|
629
|
-
}
|
|
630
|
-
|
|
631
620
|
function perfectionist() {
|
|
632
621
|
return {
|
|
633
622
|
name: "perfectionist",
|
|
@@ -1084,8 +1073,7 @@ function index(options = {}) {
|
|
|
1084
1073
|
regexp(),
|
|
1085
1074
|
command(),
|
|
1086
1075
|
unocss(),
|
|
1087
|
-
overrides()
|
|
1088
|
-
options.oxlint?.enable === false ? null : oxlint()
|
|
1076
|
+
overrides()
|
|
1089
1077
|
);
|
|
1090
1078
|
}
|
|
1091
1079
|
|
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.2",
|
|
5
5
|
"description": "Jiakun Zhao's ESLint config.",
|
|
6
6
|
"author": "Jiakun Zhao <hi@zhaojiakun.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -44,7 +44,6 @@
|
|
|
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",
|
|
48
47
|
"eslint-plugin-perfectionist": "^4.12.3",
|
|
49
48
|
"eslint-plugin-regexp": "^2.7.0",
|
|
50
49
|
"eslint-plugin-unicorn": "^59.0.0",
|
|
@@ -53,7 +52,7 @@
|
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
54
|
"@eslint/config-inspector": "^1.0.2",
|
|
56
|
-
"@eslint/core": "^0.
|
|
55
|
+
"@eslint/core": "^0.14.0",
|
|
57
56
|
"@jiakun-zhao/utils": "^1.3.2",
|
|
58
57
|
"@types/node": "^22.15.3",
|
|
59
58
|
"@typescript-eslint/types": "^8.31.1",
|