Skip to content

Commit

Permalink
docs: fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed May 28, 2024
1 parent 7c873a8 commit 70c3c03
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,10 @@ You can add two scripts to your package.json to lint and/or fix your code:
You can also add additional rules for Next.js

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

export default defineConfig([
// ...typescript
...base,
...nextjs,
{
rules: {
Expand All @@ -88,11 +87,10 @@ export default defineConfig([
You can also add additional rules for only React.js ecosystem (without Next.js).

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

export default defineConfig([
// ...typescript
...base,
...reactjs,
{
rules: {
Expand Down

0 comments on commit 70c3c03

Please sign in to comment.