@chancedigital/eslint-config
Advanced tools
Changelog
9.0.0 (2021-07-06)
README
to use npm
instead of yarn
for installation instructions (our projects will almost always use npm 7 moving forward)eqeqeq
option in wp
supersetbabel-eslint
in favor of @babel/eslint-parser
@babel/preset-react
as a peer dependency if using the react
supersetplugin:node/recommended
instead of plugin:node/recommended-script
, which means packages that use "type": "module"
won't need any rule overrides by default.no-process-exit
and node/no-process-exit
in the Node superset.Changelog
8.1.0 (2021-04-26)
require-await
from error
to off
(unsure why it was included in the first place, this is usually intentional)@wordpress/eslint-plugin
to version 9Changelog
8.0.0 (2020-11-07)
no-restricted-properties
as not every project will use the same bundling techniqueno-unused-vars
settings from "none"
to "after-used"
no-empty-character-class
no-empty-pattern
no-ex-assign
no-func-assign
no-invalid-regexp
no-negated-in-lhs
getter-return
no-control-regex
no-delete-var
no-labels
no-native-reassign
no-shadow-restricted-names
no-sparse-arrays
no-this-before-super
no-useless-escape
require-yield
valid-typeof
no-confusing-arrow
no-lonely-if
no-multiple-empty-lines
no-new
no-shadow
react
config:
react/jsx-no-comment-textnodes
react/no-typos
react
config:
jsx-a11y/accessible-emoji
react/no-did-mount-set-state
react/no-did-update-set-state
react/no-string-refs
react/react-in-jsx-scope