Skip to content

Releases: navapbc/eslint-config-nava

3.0.0

24 Mar 00:36
0be229e
Compare
Choose a tag to compare

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:
    const logger = sharedLogger.logger
        .remove(winston.transports.Console)
        .add(winston.transports.Console, {
          json: true,
          stringify: true,
          timestamp: true
        });
    will now eslint --fix to:
    const logger = sharedLogger.logger
      .remove(winston.transports.Console)
      .add(winston.transports.Console, {
        json: true,
        stringify: true,
        timestamp: true
      });

Removed

  • removed parserOptions because eslint-config-standard already sets it.

2.1.0

02 Oct 17:31
Compare
Choose a tag to compare

Changes

  • Update eslint-plugin-node to 5.2.0
  • Update eslint-plugin-react to 7.4.0

2.0.0

02 Aug 20:45
Compare
Choose a tag to compare

Added

  • Added no-var
  • Added prefer-const

Changed

Removed

  • Support Node < v4

1.0.0

17 Mar 20:51
Compare
Choose a tag to compare