All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v5.0.0 - 2022-05-25
- pat: Add
no-constant-binary-expression
rule. - pat: Add
no-unused-private-class-members
rule. - pat: Add
prefer-object-has-own
rule. - pat/mocha: Add
mocha/no-empty-description
rule. - pat/react: Add
react/prefer-exact-props
rule. - pat/react: Add
react/hook-use-state
rule. - pat/react: Add
react/no-arrow-function-lifecycle
rule. - pat/react: Add
react/no-invalid-html-attribute
rule. - pat/react: Add
react/no-namespace
rule. - pat/react: Add
react/no-unstable-nested-components
rule. - pat/react: Add
react/no-unused-class-component-methods
rule. - pat/react: Add
react/iframe-missing-sandbox
rule. - pat/react: Add
react/jsx-key
rule. - pat/react: Add
react/jsx-newline
rule. - pat/react: Add
react/jsx-no-constructed-context-values
rule. - pat/react: Add
react/jsx-no-leaked-render
rule.
- require
node >= 16.x
- upgrade
eslint@8.16.0
- upgrade
eslint-plugin-mocha@10.0.0
- upgrade
eslint-plugin-react@7.30.0
v4.6.0 - 2021-10-06
- pat: set
ecmaVersion
option tolatest
.
- upgrade
eslint@7.32.0
- upgrade
eslint-plugin-mocha@9.0.0
v4.5.0 - 2020-12-27
- pat: Add
enforceForJSX
option tono-unused-expressions
.
- upgrade
eslint@7.22.0
- upgrade
eslint-plugin-mocha@8.1.0
- upgrade
eslint@7.16.0
v4.4.0 - 2020-12-15
- pat: Enable new ESLint rule
no-nonoctal-decimal-escape
. - pat: Enable new ESLint rule
no-unsafe-optional-chaining
.
- pat/node: Don't warn on import of
lodash
.
- upgrade
eslint@7.15.0
v4.3.0 - 2020-10-20
- pat: Set new
ignoreDefaultValues
option onno-magic-numbers
. - pat/react: Set new
allow: as-needed
option onreact/jsx-filename-extension
.
- pat: ECMA version is now
2021
. - pat: Add all RFC-standard HTTP status codes to
no-magic-numbers
ignore list.
pat/mocha
now extendspat
base config.
- upgrade
eslint@7.11.0
- upgrade
eslint-plugin-react@7.21.0
v4.2.0 - 2020-08-15
- pat/mocha:
expect
defined as areadonly
global.
- upgrade
eslint@7.7.0
v4.1.0 - 2020-08-10
- pat/mocha: new Mocha rules
no-exports
.
- pat: change
complexity
limit to 6. - pat/mocha: disable ESLint rules
no-unused-expressions
andmax-lines
.
- upgrade
eslint@7.6.0
- upgrade
eslint-plugin-mocha@8.0.0
v4.0.0 - 2020-07-21
- pat: Enable the
allowSeparatedGroups
option to thesort-imports
rule.
- Move all plugins to
optionalDependencies
. This way you're only alerted to the ones you need based on which config you're using. - upgrade
eslint@7.5.0
v2.3.0 - 2020-06-24
- pat: new ESLint rule
no-unreachable-loop
- pat: new ESLint rule
no-promise-executor-return
- upgrade
eslint@7.3.1
v2.2.0 - 2020-06-02
- pat: new ESLint rule
no-lose-of-precision
.
- Change
node
engine to>=12.x
.
- Add CI action to run tests on pull request.
- Use
npm bin
to find executable paths.
- upgrade
eslint@7.1.0
- upgrade
eslint-plugin-mocha@7.0.1
v2.1.1 - 2020-05-14
- Ignore all test files and scripts when publishing NPM package.
- Add LICENSE file.
v2.1.0 - 2020-05-14
- pat/mocha: New config for linting Mocha test suites.
- Added chicken tests for all configs to ensure they are always usable.
- install
eslint-plugin-mocha
:>=7.0.0
- upgrade
eslint-plugin-react
:>=7.20.0
v2.0.0 - 2020-05-12
- pat: Change
sourceType
to always bemodule
. - pat: Add new
default-case-last
ESLint rule. - pat: Add new
no-useless-backreference
ESLint rule. - pat: Turn on new
enforceForLogicalOperands
option tono-extra-boolean-cast
ESLint rule.
- upgrade
eslint
:>=7.0.0
- pat/node:
parserOptions.sourceType
is nowmodule
.
- upgrade
eslint-plugin-node
:>=11.1.0
.
v1.0.1 - 2020-04-23
- pat/node:
node/no-restricted-require
rules had incorrect name (node/no-restricted-modules
).
v1.0.0 - 2020-04-20
Initial public release.