@will-stone/eslint-config 17.1.0 → 18.0.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 +15 -13
- package/dist/index.js +1412 -1573
- package/package.json +17 -17
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import { TSESLint } from
|
|
1
|
+
import { TSESLint } from "@typescript-eslint/utils";
|
|
2
2
|
|
|
3
|
+
//#region src/model.d.ts
|
|
3
4
|
/**
|
|
4
5
|
* This is a set of optional features that can be turned on.
|
|
5
6
|
*/
|
|
6
7
|
type Options = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
astro?: boolean;
|
|
9
|
+
jest?: boolean;
|
|
10
|
+
react?: boolean;
|
|
11
|
+
tailwind?: {
|
|
12
|
+
config?: string;
|
|
13
|
+
cssFiles?: string[];
|
|
14
|
+
} | boolean;
|
|
15
|
+
typescript?: boolean;
|
|
16
|
+
vitest?: boolean;
|
|
16
17
|
};
|
|
17
|
-
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/index.d.ts
|
|
18
20
|
/**
|
|
19
21
|
* Construct an array of ESLint flat config items.
|
|
20
22
|
*/
|
|
21
23
|
declare function config(options?: Options): Promise<TSESLint.FlatConfig.Config[]>;
|
|
22
|
-
|
|
23
|
-
export { config as default };
|
|
24
|
+
//#endregion
|
|
25
|
+
export { config as default };
|