@dauphaihau/eslint-config 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -54,8 +54,8 @@ import dauphaihau from '@dauphaihau/eslint-config'
54
54
  export default dauphaihau({
55
55
  typescript: true,
56
56
  })
57
- ```
58
57
 
58
+ ```
59
59
  ## License
60
60
 
61
61
  MIT
package/dist/index.d.ts CHANGED
@@ -1,10 +1,20 @@
1
- import { Linter } from 'eslint';
1
+ import { Config } from 'eslint/config';
2
2
 
3
3
  type Options = {
4
4
  typescript?: boolean;
5
5
  react?: boolean;
6
6
  vue?: boolean;
7
7
  };
8
- declare function dauphaihau(options?: Options): Linter.FlatConfig[];
8
+ /**
9
+ * Default factory function for creating ESLint configurations.
10
+ * Uses the builder pattern internally for consistency.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * import dauphaihau from '@dauphaihau/eslint-config'
15
+ * export default dauphaihau({ typescript: true })
16
+ * ```
17
+ */
18
+ declare function dauphaihau(options?: Options): Config[];
9
19
 
10
20
  export { type Options, dauphaihau as default };