Skip to content

Commit

Permalink
4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Fantauzzi committed Jan 1, 2024
1 parent 3866139 commit 7db1b9f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
> Changes to the `js` flavor are also applied to all the other flavors.
> Changes to the `ts` flavor are also applied to `react` and `react-native` flavors.
## 4.1.0

- Add next flavor

## 4.0.0~1

- You should now use this package together with Biome, for improved performance. All ESLint rules that have a Biome corresponding rules are now disabled.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

Curated ESLint configs that I've been improving over the years. All my projects use this.

Since v4, **this now should be used together with Biome**. Internally it uses my other package, the [eslint-config-biome](https://github.com/SrBrahma/eslint-config-biome). If you want to stay without Biome, use v3 together with Prettier (I recommend [prettier-config-gev](https://github.com/SrBrahma/prettier-config-gev))
Since v4, **this should be used together with Biome**. Internally it uses my other package, the [eslint-config-biome](https://github.com/SrBrahma/eslint-config-biome). If you want to stay without Biome, use v3 together with Prettier (I recommend [prettier-config-gev](https://github.com/SrBrahma/prettier-config-gev))

## 💿 Install:

### Automatically

Run `npx eslint-config-gev <flavor>`, being flavor one of the following: `ts, react-ts, react-native-ts, js, react-js, react-native-js`. This list and further options can be seen by running `npx eslint-config-gev --help`.
Run `npx eslint-config-gev <flavor>`, being flavor one of the following: `ts, next, react, react-native, js`. This list and further options can be seen by running `npx eslint-config-gev --help`.

This command adds the required package to your package.json and sets up the `.eslintrc.cjs`.

Expand Down
Binary file modified bun.lockb
Binary file not shown.
5 changes: 5 additions & 0 deletions next.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
plugins: ["@typescript-eslint"],
extends: ["./react.js", "plugin:@next/next/recommended"],
rules: {},
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"homepage": "https://github.com/SrBrahma/eslint-config#readme",
"dependencies": {
"@next/eslint-plugin-next": "^14.0.4",
"@rushstack/eslint-patch": "1.6.0",
"@stylistic/eslint-plugin": "1.4.1",
"@typescript-eslint/eslint-plugin": "6.13.1",
Expand Down

0 comments on commit 7db1b9f

Please sign in to comment.