Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed May 31, 2024
1 parent 9379c6c commit f91f3f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ npm i -D @hyperse/eslint-config-hyperse
```

1. Create a `eslint.config.js` file in the root of your project's directory (it should live where package.json does). Your `eslint.config.js` file should look like this:

2. Extends your config with the minimal base of `@hyperse` config :
2. if you are using `commonjs`, just change `eslint.config.js` to `eslint.config.mjs`
3. Extends your config with the minimal base of `@hyperse` config :

```ts
import { base, defineConfig } from '@hyperse/eslint-config-hyperse';
Expand Down

0 comments on commit f91f3f2

Please sign in to comment.