@will-stone/eslint-config 23.0.0 → 24.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +29 -30
  2. package/dist/index.js +1665 -1586
  3. package/package.json +15 -12
package/dist/index.d.ts CHANGED
@@ -1,30 +1,29 @@
1
- import { TSESLint } from "@typescript-eslint/utils";
2
- import { Linter } from "eslint";
3
-
4
- //#region src/model.d.ts
5
- /**
6
- * This is a set of optional features that can be turned on.
7
- */
8
- type Options = {
9
- astro?: boolean;
10
- react?: boolean;
11
- tailwind?: {
12
- config?: string;
13
- cssFiles?: string[];
14
- } | boolean;
15
- typescript?: boolean;
16
- vitest?: boolean;
17
- };
18
- //#endregion
19
- //#region src/index.d.ts
20
- /**
21
- * An ESLint Flat Config factory function that auto-configures to your
22
- * environment.
23
- *
24
- * @param options - Tweak the factory's behaviour.
25
- * @param extraConfigs - Each extra argument is an optional Flat Config.
26
- * @returns An array of ESLint Flat Configs.
27
- */
28
- declare const config: (options?: Options, ...extraConfigs: (TSESLint.FlatConfig.Config | Linter.Config)[]) => Promise<(TSESLint.FlatConfig.Config | Linter.Config)[]>;
29
- //#endregion
30
- export { config as default };
1
+ import { Linter } from 'eslint';
2
+ import { TSESLint } from '@typescript-eslint/utils';
3
+
4
+ /**
5
+ * An ESLint Flat Config factory function that auto-configures to your
6
+ * environment.
7
+ *
8
+ * @param options - Tweak the factory's behaviour.
9
+ * @param extraConfigs - Each extra argument is an optional Flat Config.
10
+ * @returns An array of ESLint Flat Configs.
11
+ */
12
+ declare const config: (options?: Options, ...extraConfigs: (TSESLint.FlatConfig.Config | Linter.Config)[]) => Promise<(TSESLint.FlatConfig.Config | Linter.Config)[]>;
13
+ export default config;
14
+
15
+ /**
16
+ * This is a set of optional features that can be turned on.
17
+ */
18
+ declare type Options = {
19
+ astro?: boolean;
20
+ react?: boolean;
21
+ tailwind?: {
22
+ config?: string;
23
+ cssFiles?: string[];
24
+ } | boolean;
25
+ typescript?: boolean;
26
+ vitest?: boolean;
27
+ };
28
+
29
+ export { }