@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 +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.js +4013 -29
- package/package.json +16 -7
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
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 };
|