File tree 1 file changed +6
-8
lines changed
packages/eslint-config-ts
1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -16,20 +16,18 @@ npm add -D @electron-toolkit/eslint-config-ts
16
16
17
17
This package exports the following:
18
18
19
- | name | Description |
20
- | ------- | --------------------------------------------------------- |
19
+ | name | Description |
20
+ | ------- | --------------------------------------------------------------------------------------- |
21
21
| config | A utility function for creating type-safe flat configs, export form ` typescript-eslint ` |
22
- | configs | Built-in configurations: ` base ` and ` recommended ` |
22
+ | configs | Built-in configurations: ` base ` and ` recommended ` |
23
23
24
24
Import ` @electron-toolkit/eslint-config-ts ` and add it to the configuration array in your ` eslint.config.js ` file.
25
25
26
26
``` js
27
- import tseslint from " @electron-toolkit/eslint-config-ts" ;
27
+ import tseslint from ' @electron-toolkit/eslint-config-ts'
28
28
29
29
export default tseslint .config (
30
- tseslint .configs .recommended ,
30
+ tseslint .configs .recommended
31
31
// Any other config
32
- );
32
+ )
33
33
```
34
-
35
-
You can’t perform that action at this time.
0 commit comments