@@ -8,23 +8,93 @@ interface ProjectService {
88}
99
1010export interface Options extends Linter . Config {
11+ /**
12+ * @default true if you have `react` or `react-dom` in your dependencies
13+ * Controls react plugin.
14+ */
1115 react ?: boolean ;
16+ /**
17+ * @default true
18+ */
1219 sort ?: boolean ;
20+ /**
21+ * @default true if you have `next` in your dependencies
22+ * Controls next plugin.
23+ */
1324 next ?: boolean ;
25+ /**
26+ * @default true if you have `tailwind` in your dependencies
27+ * Controls tailwind plugin.
28+ */
1429 tailwind ?: boolean | { callees : string [ ] } ;
30+ /**
31+ * @default false
32+ * Controls [node plugin](https://www.npmjs.com/package/eslint-plugin-n).
33+ */
1534 node ?: boolean ;
35+ /**
36+ * @default false
37+ * Enables all strict rules.
38+ */
1639 strict ?: boolean ;
40+ /**
41+ * @default true
42+ * Controls [import plugin](https://www.npmjs.com/package/eslint-plugin-import-x).
43+ */
1744 import ?: boolean | { internalRegExp ?: string ; lifetime ?: number ; projects ?: string | string [ ] } ;
45+ /**
46+ * @default true if you have `type: module` in your `package.json`.
47+ */
1848 esm ?: boolean ;
49+ /**
50+ * @default true if you have one of `jest`, `vitest`, `cypress`, `playwright`, `storybook`, `prettier` in your dependencies.
51+ * Controls [test plugin](https://www.npmjs.com/package/eslint-plugin-jest-formatting).
52+ */
1953 test ?: boolean ;
54+ /**
55+ * @default true if you have `jest` in your dependencies.
56+ * Controls [jest plugin](https://www.npmjs.com/package/eslint-plugin-jest).
57+ */
2058 jest ?: boolean ;
59+ /**
60+ * @default true if you have `vitest` in your dependencies.
61+ * Controls [vitest plugin](https://www.npmjs.com/package/eslint-plugin-vitest).
62+ */
2163 vitest ?: boolean ;
64+ /**
65+ * @default true if you have `cypress` in your dependencies.
66+ * Controls [cypress plugin](https://www.npmjs.com/package/eslint-plugin-cypress).
67+ */
2268 cypress ?: boolean ;
69+ /**
70+ * @default true if you have `storybook` in your dependencies.
71+ * Controls [storybook plugin](https://www.npmjs.com/package/eslint-plugin-storybook).
72+ */
2373 storybook ?: boolean ;
74+ /**
75+ * @default true if you have `prettier` in your dependencies.
76+ * Controls [prettier plugin](https://www.npmjs.com/package/eslint-plugin-prettier).
77+ */
2478 prettier ?: boolean ;
79+ /**
80+ * @default true if you have `playwright` in your dependencies.
81+ * Controls [playwright plugin](https://www.npmjs.com/package/eslint-plugin-playwright).
82+ */
2583 playwright ?: boolean ;
84+ /**
85+ * @default true if you have `typescript` in your dependencies.
86+ * Controls [typescript plugin](https://www.npmjs.com/package/typescript-eslint).
87+ */
2688 typescript ?: { projectService ?: boolean | ProjectService ; tsconfigRootDir : string ; cacheLifetime ?: number } ;
89+ /**
90+ * @default false
91+ * Disables expensive rules.
92+ */
2793 disableExpensiveRules ?: boolean ;
94+ /**
95+ * @default []
96+ * List of globs to ignore.
97+ */
2898 ignores ?: string [ ] ;
2999}
30100
0 commit comments