@wagtail/eslint-config-wagtail
Advanced tools
Changelog
v0.4.0 - 2021-12-23)
There are a number of existing rules that are now enforced:
**
over Math.pow
)And brand new rules introduced with this release:
This release updates most of the dependencies of the config:
| package | from | to | | ------------------------- | ------- | ------- | | eslint | ^7.2.0 | ^8.2.0 | | eslint-config-airbnb | ^18.2.1 | ^19.0.2 | | eslint-config-prettier | | ^8.3.0 | | eslint-plugin-react | ^7.24.0 | ^7.27.1 | | eslint-plugin-react-hooks | ^4.2.0 | ^4.3.0 | | eslint-plugin-jsx-a11y | ^6.4.1 | ^6.5.1 | | eslint-plugin-import | ^2.23.4 | ^2.25.3 |
Users of npm v7 can npm install --save-dev @wagtail/eslint-config-wagtail@latest
and this will automatically install all required peer dependencies.
For older versions of npm, use npx install-peerdeps --dev @wagtail/eslint-config-wagtail@latest
so all other peerDependencies are updated as well.
Changelog
v0.2.0 - 2020-06-05
@wagtail/eslint-config-wagtail
to match Wagtail’s stylelint configeslint:recommended
as a baseline.eslint-config-airbnb
and its dependencies.