Releases: navapbc/eslint-config-nava
Releases · navapbc/eslint-config-nava
3.0.0
Added
- added
prefer-arrow-callback
, which enforces arrow fns in callbacks for most cases - this is a convention we've adopted for terse functional code, like promise chains.
Changed
- eslint-config-standard 10.2.1 -> 11.0.0 🆙
- eslint-config-standard-react 5.0.0 -> 6.0.0 🆙
- eslint-plugin-import 2.7.0 -> 2.9.0 🆙
- eslint-plugin-node 5.2.0 -> 6.0.1 🆙
- eslint-plugin-promise 3.5.0 -> 3.7.0 🆙
- eslint-plugin-react 7.4.0 -> 7.7.0 🆙
- eslint 3.17.1 -> 4.19.1 (migration guide) 🆙
the main change is stricter indent rules:will nowconst logger = sharedLogger.logger .remove(winston.transports.Console) .add(winston.transports.Console, { json: true, stringify: true, timestamp: true });
eslint --fix
to:const logger = sharedLogger.logger .remove(winston.transports.Console) .add(winston.transports.Console, { json: true, stringify: true, timestamp: true });
Removed
- removed
parserOptions
becauseeslint-config-standard
already sets it.
2.1.0
2.0.0
Added
- Added
no-var
- Added
prefer-const
Changed
- Updates upstream eslint dependencies to
latest
- Using deprecated node.js apis is now an error
- Read more about changes in StandardJS v10 here: https://standardjs.com/changelog.html#1002---2017-04-14
Removed
- Support Node < v4
1.0.0
- First public NPM release!
- Using a slightly modified version of Standard JS, thanks @kencheeto 👏