Skip to content

Commit 7f2992b

Browse files
committed
chore: update readme.md
1 parent 1d3dd8c commit 7f2992b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

README.md

-11
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,13 @@ pnpm i -D eslint @coderwyd/eslint-config
2121

2222
### Create config file
2323

24-
With [`"type": "module"`](https://nodejs.org/api/packages.html#type) in `package.json` (recommended):
25-
2624
```js
2725
// eslint.config.js
2826
import { defineConfig } from '@coderwyd/eslint-config'
2927

3028
export default defineConfig()
3129
```
3230

33-
With CJS:
34-
35-
```js
36-
// eslint.config.js
37-
const { defineConfig } = require('@coderwyd/eslint-config')
38-
39-
module.exports = defineConfig()
40-
```
41-
4231
### Add script for package.json
4332

4433
For example:

0 commit comments

Comments
 (0)