- Updated the
eslint-plugin-jsdoc#
peer dependency to^15.5.1
. - Removed a no longer necessary workaround for gajus/eslint-plugin-jsdoc#332.
- Fixed
import
linting for Next.js projects.
- Support Node.js v8.3+, from v8+.
- Updated the
eslint
peer dependency to^6.0.0
. - To account for several changes in ESLint v6, when
parserOptions.sourceType
is being set thepackage.json
type
field is respected andoverrides
is used to enforce file extension specific Node.js standards. - Replaced deprecated JSDoc rules with a new peer dependency,
eslint-plugin-jsdoc
. - Preferred capitalization of types now matches the
jsdoc/check-types
rule defaults. - Preferred tag names now match the
jsdoc/check-tag-names
rule defaults, with the exception of@prop
. - Support
jsdoc-md
projects by automatically restricting JSDoc tags to the supported subset.
- Updated dependencies.
- Disabled the
require-atomic-updates
rule due to false positives. - Improved the installation instructions in the readme.
- Updated the package
keywords
field forjsdoc-md
.
- Use the ESLint
sort-imports
rule to sort named imports. - Updated the
eslint-plugin-node
peer dependency to^9.0.0
. - Remove
.mjs
file config overrides thateslint-plugin-node
now handles.
- Bump the
parserOptions.ecmaVersion
config from2018
to2019
.
- Updated dependencies.
- Adapted to the new
read-pkg-up
API. - Removed redundant
plugins
config, as the recommended configs already handle that. - Ensure
.js
files (when not in a Next.js project) are parsed with ascript
source type, aseslint-plugin-import
was always setting it tomodule
. - Disable the
import/no-unresolved
rule, in favor ofnode/no-missing-import
andnode/no-missing-require
. - Support
.mjs
files and theimport/named
rule (see benmosher/eslint-plugin-import#1359).
- Updated dependencies and peer dependencies.
- Dropped support for Node.js v6 and v7.
- 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 innode_modules
. - Ensure
.js
files are linted on commit.
- Enabled the
react-hooks/exhaustive-deps
rule.
- Updated dev dependencies.
- Added
hooks
to the package keywords.
- Use
eslint-plugin-react-hooks
for React projects.
- Updated dev dependencies.
- Prevent an
eslint-plugin-react
warning.
- Use
eslint-plugin-import-order-alphabetical
, a new peer dependency.
- Updated dev dependencies.
- Updated dependencies.
- Updated
eslint-plugin-node
peer dependency to7 - 8
.
- Removed the
quotes
rule, to prevent conflicts with Prettier config different tosingleQuote: true
. - Added
esm
andmjs
keywords to the package.
- 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.
- Support Node.js v6+, from v6.4+.
- Updated dependencies.
- Changelog version entries now have “Major”, “Minor” and “Patch” subheadings.
- Updated
eslint-plugin-node
peer dependency from^6.0.0
to^7.0.0
and support the new API.
- Updated dev dependencies.
- 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 nestednode_modules
eslint-config-env
is installed in.
- Throw an error if the
eslint
peer dependency is not a project dev dependency. - New browser project setup:
- Use eslint-plugin-compat.
env.browser
is now automatically set.
- Support Next.js projects:
parserOptions.sourceType
ismodule
, as Next.js only supports ESM in.js
files. Once Next.js updates towebpack
>= 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 usesbabel-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).
- Updated dependencies.
- Fixed React installation instructions.
- Ensure the
node/no-unsupported-features
rule is also off in.mjs
files for Babel projects.
- Updated peer dependencies.
- Updated dev dependencies.
- Updated preferred JSDoc tag synonyms:
@param
@prop
@returns
- Updated dependencies.
- Fix a crash when a package is missing
peerDependencies
,dependencies
ordevDependencies
fields.
Initial release.