@so1ve/eslint-config 3.5.3 → 3.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/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -13566,8 +13566,8 @@ declare const resolveSubOptions: <K extends keyof Options>(options: Options & Ty
|
|
|
13566
13566
|
declare function getOverrides<K extends keyof Options>(options: Options, key: K): any;
|
|
13567
13567
|
//#endregion
|
|
13568
13568
|
//#region src/globs.d.ts
|
|
13569
|
-
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
13570
|
-
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
13569
|
+
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)|vue|astro";
|
|
13570
|
+
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)|vue|astro";
|
|
13571
13571
|
declare const GLOB_JS = "**/*.?([cm])js";
|
|
13572
13572
|
declare const GLOB_JSX = "**/*.?([cm])jsx";
|
|
13573
13573
|
declare const GLOB_TS = "**/*.?([cm])ts";
|
|
@@ -13588,7 +13588,7 @@ declare const GLOB_TOML = "**/*.toml";
|
|
|
13588
13588
|
declare const GLOB_HTML = "**/*.htm?(l)";
|
|
13589
13589
|
declare const GLOB_PACKAGEJSON = "**/package.json";
|
|
13590
13590
|
declare const GLOB_TSCONFIG: string[];
|
|
13591
|
-
declare const GLOB_MARKDOWN_CODE = "**/*.md?(x)/**/*.?([cm])[jt]s?(x)";
|
|
13591
|
+
declare const GLOB_MARKDOWN_CODE = "**/*.md?(x)/**/*.?([cm])[jt]s?(x)|vue|astro";
|
|
13592
13592
|
declare const GLOB_TESTS: string[];
|
|
13593
13593
|
declare const GLOB_ALL_SRC: string[];
|
|
13594
13594
|
declare const GLOB_EXCLUDE: string[];
|
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ const comments = () => [{
|
|
|
33
33
|
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/globs.ts
|
|
36
|
-
const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
36
|
+
const GLOB_SRC_EXT = "?([cm])[jt]s?(x)|vue|astro";
|
|
37
37
|
const GLOB_SRC = `**/*.${GLOB_SRC_EXT}`;
|
|
38
38
|
const GLOB_JS = "**/*.?([cm])js";
|
|
39
39
|
const GLOB_JSX = "**/*.?([cm])jsx";
|
|
@@ -1146,7 +1146,7 @@ async function typescript({ componentExts = [], parserOptions, overrides } = {})
|
|
|
1146
1146
|
parser: tseslint.parser,
|
|
1147
1147
|
parserOptions: {
|
|
1148
1148
|
sourceType: "module",
|
|
1149
|
-
|
|
1149
|
+
projectService: true,
|
|
1150
1150
|
tsconfigRootDir: process.cwd()
|
|
1151
1151
|
}
|
|
1152
1152
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@so1ve/eslint-config",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Ray's eslint config.",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"typescript-eslint": "^8.34.0",
|
|
70
70
|
"vue-eslint-parser": "^10.1.3",
|
|
71
71
|
"yaml-eslint-parser": "^1.3.0",
|
|
72
|
-
"@so1ve/eslint-plugin
|
|
73
|
-
"@so1ve/eslint-plugin": "3.
|
|
72
|
+
"@so1ve/eslint-plugin": "3.6.0",
|
|
73
|
+
"@so1ve/eslint-plugin-sort-imports": "3.6.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@typescript-eslint/utils": "^8.34.0"
|