Releases: dabapps/eslint-config-dabapps
Releases · dabapps/eslint-config-dabapps
v10.0.0: Update eslint to 8
What's Changed
- [Breaking] Eslint upgraded to version 8. Note that this will have breaking changes from eslint updates see guide for migrating here https://eslint.org/docs/latest/user-guide/migrating-to-8.0.0. For most projects we won't need to do anything so long as we're fairly up to date on node versions as most of the breaking changes have been handled already as part of this.
Full Changelog: v9.0.0...v10.0.0
v9.0.0 Remove webpack as default resolver for typescript and make absolute import paths optional
What's Changed
- [Breaking] Remove webpack as default resolver for typescript by @matkastner in #79. Older projects using webpack should add the line
"import/resolver": "webpack"
to settings in their.eslint.json
file. - Remove no-relative-parent-import rule by @matkastner in #80
Full Changelog: v8.0.0...v9.0.0
Swap babel-eslint for @babel/eslint-parser
Fix no-shadow rule
This release fixes the no-shadow
rule.
Includes: #75
TypeScript upgrades
- Add support for TS up to
4.1
- Drop support for TS <
3.3.1
- Fix TS
no-use-before-define
Fix TS no-unused-expressions
Fix disable camelcase (typescript rule still existed)
Disable imports/no-unused-modules
No changes necessary if upgrading from 6.0.0
-6.0.4
. Please ignore 6.1
.
This was causing issues regardless of how it was setup, so we've disabled it. It can be enabled as and when we want to check for redundant code.
Dependency audit
EDIT: Please upgrade to v6.1.2
as there were issues with this release.
Disable a few rules (minor changes needed)
EDIT: Please upgrade to v6.1.2
as there were issues with this release.
Disabled camelcase
, import/prefer-default-export
and import/no-unused-modules
(disabled unusedExports
, and enabled missingExports
).
Due to the change to import/no-unused-modules
you will need to add a comment to the top of the project's entry file:
// eslint-disable import/no-unused-modules