Skip to content

Commit 2c07427

Browse files
committed
docs(eslint-config-ts): update
1 parent 63222be commit 2c07427

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

packages/eslint-config-ts/README.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,18 @@ npm add -D @electron-toolkit/eslint-config-ts
1616

1717
This package exports the following:
1818

19-
| name | Description |
20-
| ------- | --------------------------------------------------------- |
19+
| name | Description |
20+
| ------- | --------------------------------------------------------------------------------------- |
2121
| 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` |
2323

2424
Import `@electron-toolkit/eslint-config-ts` and add it to the configuration array in your `eslint.config.js` file.
2525

2626
```js
27-
import tseslint from "@electron-toolkit/eslint-config-ts";
27+
import tseslint from '@electron-toolkit/eslint-config-ts'
2828

2929
export default tseslint.config(
30-
tseslint.configs.recommended,
30+
tseslint.configs.recommended
3131
// Any other config
32-
);
32+
)
3333
```
34-
35-

0 commit comments

Comments
 (0)