We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d3dd8c commit 7f2992bCopy full SHA for 7f2992b
README.md
@@ -21,24 +21,13 @@ pnpm i -D eslint @coderwyd/eslint-config
21
22
### Create config file
23
24
-With [`"type": "module"`](https://nodejs.org/api/packages.html#type) in `package.json` (recommended):
25
-
26
```js
27
// eslint.config.js
28
import { defineConfig } from '@coderwyd/eslint-config'
29
30
export default defineConfig()
31
```
32
33
-With CJS:
34
35
-```js
36
-// eslint.config.js
37
-const { defineConfig } = require('@coderwyd/eslint-config')
38
39
-module.exports = defineConfig()
40
-```
41
42
### Add script for package.json
43
44
For example:
0 commit comments