Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianwd committed Nov 7, 2024
1 parent 8c2e719 commit a2359b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/flat-vans-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"swd-eslint-config": patch
---

add nextjs optional plugin
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ This is a custom eslint config for my projects. It uses the latest flat config v
},
...swdEslintPlugin.configs.base,
// if using React:
...swdEslintPlugin.configs.react
...swdEslintPlugin.configs.react(
{ framework: "next" } // optional
)
);
```

Expand All @@ -43,7 +45,9 @@ This is a custom eslint config for my projects. It uses the latest flat config v
extends: [
...swdEslintPlugin.configs.base,
// if using React:
...swdEslintPlugin.configs.react,
...swdEslintPlugin.configs.react(
{ framework: "next" } // optional
),
],
});
```
Expand Down

0 comments on commit a2359b7

Please sign in to comment.