You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eslint-config-moneyforward 4 has been released. This is a major update just two months after the previous release, but it includes many attractive features.
Update several eslint-plugin versions (especially typescript-eslint)
Several of the included ESLint Plugins have been updated.
v3
v4
tyepscript-eslint
^6.21.0
^7.10.0
eslint-plugin-jest
^27.9.0
^28.5.0
eslint-plugin-n
^16.6.2
^17.7.0
eslint-plugin-testing-library
v5.11.1
v6.2.2
One thing I’d like to mention in particular is typescript-eslint. Until now, the included plugin was ^6.21.0, which required TypeScript v5.4.0 or lower in your environment. With this major update, the included plugin is now ^7.10.0, which means TypeScript v5.4 and higher is now supported.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
eslint-config-moneyforward 4 has been released. This is a major update just two months after the previous release, but it includes many attractive features.
Support ESLint Flat Config
Note
cf. Migrate to Flat Config
Starting with v4, ESLint Flat Config is finally officially supported. This will greatly improve the readability and usability of ESLint Configuration:
Of course, you can override the ruleset to suit your preferences:
Warning
The existing eslintrc format can still be used, but from ESLint 10 onwards, only Flat Config can be used, so we recommend migrating as soon as possible.
cf. Flat config rollout plans - ESLint - Pluggable JavaScript Linter
Update several eslint-plugin versions (especially
typescript-eslint
)Several of the included ESLint Plugins have been updated.
^6.21.0
^7.10.0
^27.9.0
^28.5.0
^16.6.2
^17.7.0
v5.11.1
v6.2.2
One thing I’d like to mention in particular is typescript-eslint. Until now, the included plugin was
^6.21.0
, which required TypeScript v5.4.0 or lower in your environment. With this major update, the included plugin is now^7.10.0
, which means TypeScript v5.4 and higher is now supported.cf. typescript-eslint/CHANGELOG.md at main · typescript-eslint/typescript-eslint
Important
With this major update, the required versions for Node.js and ESLint have been raised as follows:
>= 18.0.0
>= 18.18.0 || >= 20.0.0
^7.32.0 || ^8.2.0
^8.56.0
Fix many bugs
import/namespace
error #294jest
as a Peer Dependency #298Beta Was this translation helpful? Give feedback.
All reactions