Skip to content

Latest commit

 

History

History
202 lines (123 loc) · 7.1 KB

changelog.md

File metadata and controls

202 lines (123 loc) · 7.1 KB

eslint-config-env changelog

Next

Major

7.0.1

Patch

  • Fixed import linting for Next.js projects.

7.0.0

Major

Patch

6.0.0

Major

Minor

  • Bump the parserOptions.ecmaVersion config from 2018 to 2019.

Patch

5.0.0

Major

  • Updated dependencies and peer dependencies.
  • Dropped support for Node.js v6 and v7.

Patch

  • Reduced the size of the published package.json by moving dev tool config to files. This also prevents editor extensions such as Prettier and ESLint from detecting config and attempting to operate when opening package files installed in node_modules.
  • Ensure .js files are linted on commit.

4.0.0

Major

  • Enabled the react-hooks/exhaustive-deps rule.

Patch

  • Updated dev dependencies.
  • Added hooks to the package keywords.

3.0.0

Major

Patch

2.0.0

Major

Patch

  • Updated dev dependencies.

1.2.1

Patch

1.2.0

Minor

  • Removed the quotes rule, to prevent conflicts with Prettier config different to singleQuote: true.
  • Added esm and mjs keywords to the package.

Patch

  • Updated dependencies.
  • Updated package scripts and config for the new husky version.
  • Prettier lint .yml files.
  • Ensure the readme Travis build status badge only tracks master branch.
  • Use Badgen instead of shields.io for the npm version badge.

1.1.0

Minor

  • Support Node.js v6+, from v6.4+.

Patch

  • Updated dependencies.
  • Changelog version entries now have “Major”, “Minor” and “Patch” subheadings.

1.0.0

Major

  • Updated eslint-plugin-node peer dependency from ^6.0.0 to ^7.0.0 and support the new API.

Patch

  • Updated dev dependencies.

0.5.0

Minor

  • Support repos with multiple packages. Instead of assuming the CWD is at or below the package directory, config is derived from the first package.json above the nested node_modules eslint-config-env is installed in.

0.4.0

Minor

  • Throw an error if the eslint peer dependency is not a project dev dependency.
  • New browser project setup:
  • Support Next.js projects:
    • parserOptions.sourceType is module, as Next.js only supports ESM in .js files. Once Next.js updates to webpack >= 4 this will be reverted and .mjs should be used for ESM source files instead.
    • Disabled the react/react-in-jsx-scope rule, as Next.js uses babel-plugin-react-require.
  • Rules preferring modern ES syntax only apply if the syntax is supported:
    • For Babel projects, support is assumed.
    • For non-Babel browser projects, no support is assumed.
    • For non-Babel Node.js projects, support for each syntax is determined against the package.json engines.node field (now documented as required for all projects).

Patch

0.3.0

Major

  • Updated peer dependencies.

Patch

  • Updated dev dependencies.

0.2.0

Major

  • Updated preferred JSDoc tag synonyms:
    • @param
    • @prop
    • @returns

Patch

  • Updated dependencies.

0.1.1

Patch

  • Fix a crash when a package is missing peerDependencies, dependencies or devDependencies fields.

0.1.0

Initial release.