@ziloen/eslint-config 0.1.3 → 0.1.5
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.cjs +1 -773
- package/dist/index.d.cts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +1 -732
- package/package.json +17 -14
package/dist/index.d.cts
CHANGED
|
@@ -3,12 +3,15 @@ export { FlatESLintConfig, FlatESLintConfigItem, defineFlatConfig } from 'eslint
|
|
|
3
3
|
|
|
4
4
|
declare const javascript: FlatESLintConfigItem[];
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
type TSOptions = {
|
|
7
|
+
tsconfigPath: string;
|
|
8
|
+
};
|
|
9
|
+
declare function typescript({ tsconfigPath }: TSOptions): FlatESLintConfigItem[];
|
|
7
10
|
|
|
8
|
-
declare
|
|
11
|
+
declare function vue({ tsconfigPath }: TSOptions): FlatESLintConfigItem[];
|
|
9
12
|
|
|
10
|
-
declare
|
|
13
|
+
declare function react({ tsconfigPath }: TSOptions): FlatESLintConfigItem[];
|
|
11
14
|
|
|
12
15
|
declare const format: FlatESLintConfigItem[];
|
|
13
16
|
|
|
14
|
-
export { format, javascript, react, typescript, vue };
|
|
17
|
+
export { TSOptions, format, javascript, react, typescript, vue };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,12 +3,15 @@ export { FlatESLintConfig, FlatESLintConfigItem, defineFlatConfig } from 'eslint
|
|
|
3
3
|
|
|
4
4
|
declare const javascript: FlatESLintConfigItem[];
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
type TSOptions = {
|
|
7
|
+
tsconfigPath: string;
|
|
8
|
+
};
|
|
9
|
+
declare function typescript({ tsconfigPath }: TSOptions): FlatESLintConfigItem[];
|
|
7
10
|
|
|
8
|
-
declare
|
|
11
|
+
declare function vue({ tsconfigPath }: TSOptions): FlatESLintConfigItem[];
|
|
9
12
|
|
|
10
|
-
declare
|
|
13
|
+
declare function react({ tsconfigPath }: TSOptions): FlatESLintConfigItem[];
|
|
11
14
|
|
|
12
15
|
declare const format: FlatESLintConfigItem[];
|
|
13
16
|
|
|
14
|
-
export { format, javascript, react, typescript, vue };
|
|
17
|
+
export { TSOptions, format, javascript, react, typescript, vue };
|