exports
function-paren-newline
with multiline-arguments
option (#2471)no-unsafe-optional-chaining
ruleno-nonoctal-decimal-escape
ruleimport/no-extraneous-dependencies
: Add .eslintrc.js to devDeps (#2329)prepublishOnly
script for npm 7+eslint-plugin-import
, eslint-plugin-react
, object.entries
@babel/runtime
, `tape
no-restricted-globals
: add better messages (#2320)confusing-browser-globals
, object.assign
eslint-plugin-import
, use valid import/no-cycle
maxDepth
option (#2250, #2249)@babel/runtime
, eslint-find-rules
, eslint-plugin-import
eslint
v7
no-param-reassign
(#2230)prefer-object-spread
for airbnb-base/legacy
(#2198)eslint-plugin-import
, eslint-plugin-react
, babel-preset-airbnb
, eslint-find-rules
, in-publish
, tape
, object.entries
import/no-useless-path-segments
for commonjs (#2113)whitespace
: only set erroring rules to "warn"import/no-extraneous-dependencies
: Support karma config files (#2121)eslint
, eslint-plugin-import
, eslint-plugin-react
, object.entries
, confusing-browser-globals
@babel/runtime
, babel-preset-airbnb
, safe-publish-latest
, tape
prefer-destructuring
internally (#2110)no-self-assign
: enable props
optionno-useless-catch
max-classes-per-file
no-misleading-character-class
no-async-promise-executor
prefer-object-spread
func-name-matching
: enable considerPropertyDescriptor
optionpadded-blocks
: enable allowSingleLineBlocks
option (#1255)no-multiple-empty-lines
: Restrict empty lines at beginning of file (#2042)no-mixed-operators
(#1864)camelcase
: enable ignoreDestructuringconfusing-browser-globals
, eslint-plugin-import
, tape
, babel-preset-airbnb
eslint-find-rules
, eslint-plugin-import
eclint
instead of editorconfig-tools
no-var
in legacy entry pointstaticContext
params (#2029)no-extraneous-dependencies
: Add jest.setup.js to devDeps (#1998)prefer-named-capture-group
ruleno-useless-catch
configobject.entries
, eslint-plugin-import
, eslint-plugin-jsx-a11y
, eslint-plugin-react
, tape
eslint-plugin-import
, eslint
, babel-preset-airbnb
, safe-publish-latest
, eslint-find-rules
import/no-cycle
: warn on cyclical dependencies (#1779)object-curly-newline
to match eslint 4.18.0 (#1761)no-useless-path-segments
(#1743)=
(#1710)implicit-arrow-linebreak
nonblock-statement-body-position
rule and adds link to guide (#1618)no-mixed-operators
: only warn on **
and %
mixed with arithmetic operators; removes violation against mixing common math operators. (#1611)import/named
: enablelines-between-class-members
: set to “always”no-else-return
: disallow else-if (#1595)foo_spec.js
naming style (#1732)function-paren-newline
: change to "consistent"__mocks__
no-extraneous-dependencies
check (#1772)no-param-reassign
(#1768)array-callback-return
: enable allowImplicit
option (#1668)eslint
, eslint-plugin-import
babel-preset-airbnb
, tape
, eslint-find-rules
npx
shortcut (#1694)eslint
to v4.9
eslint
indent
(#1569)eslint
eslint
v4
function-paren-newline
, for-direction
, getter-return
, no-compare-neg-zero
, semi-style
, object-curly-newline
, no-buffer-constructor
, no-restricted-globals
, switch-colon-spacing
, template-tag-spacing
, prefer-promise-reject-errors
, prefer-destructuring
indent
, no-multi-spaces
, no-trailing-spaces
, no-underscore-dangle
comma-dangle
to Stylistic Issues (#1514)eslint
v4, tape
legacy
: remove top-level ecmaFeatures
eslint-plugin-import
no-return-assign
: strengthen linting against returning assignmentsno-restricted-globals
: add confusing globals; leave disabled for now (#1420)no-restricted-syntax
(#1353)eslint
no-param-reassign
: add ignorePropertyModificationsFor (#1325)eslint
eslint
ignoreRestSiblings
in no-unused-vars
no-multi-assign
eslint
, babel-preset-airbnb
eqeqeq
) (#1244)eslint
install-peerdeps
(#1234)no-await-in-loop
no-duplicate-imports
rule (#1188, #1195, #1054)import/no-extraneous-dependencies
: add some comments to ignore patternsimport/no-extraneous-dependencies
ignore patterns for test files (#1174)import/no-extraneous-dependencies
: added ignore patterns for config files (#1168)eslint
, eslint-plugin-import
, tape
**
**
over Math.pow
comma-dangle
: require trailing commas for functionsno-useless-return
indent
spaced-comment
import/no-named-default
max-len
with ignoreRegExpLiterals
optionno-extraneous-dependencies
for test files (#959, #1089)eslint
, eslint-plugin-import
eslint-find-rules
node
v7
ForOfStatement
to no-restricted-syntax
(#1122, #1134)import/no-webpack-loader-syntax
(#1123)eslint
to v3.8.0
(#1132)eslint-plugin-import
to v2 (#1101)new-cap
: add immutable.js exceptionsbabel-preset-airbnb
, eslint
, eslint-find-rules
, tape
, safe-publish-latest
no-restricted-properties
, prefer-numeric-literals
, lines-around-directive
, import/extensions
, import/no-absolute-path
, import/no-dynamic-require
ecmaVersion
to 2017; enable object rest/spread; update babel-preset-airbnb
no-restricted-properties
eslint
, eslint-plugin-import
, eslint-find-rules
, safe-publish-latest
arrow-parens
rulemax-len
by ignoring stringseslint
v3.5.0
valid-typeof
: enable requireStringLiterals
optionclass-methods-use-this
symbol-description
no-bitwise
no-tabs
func-call-spacing
no-template-curly-in-string
DebuggerStatement
from no-restricted-syntax
(#1031)eslint
, eslint-find-rules
, eslint-plugin-import
ecmaVersion
to 2016
import/extensions
list (#1013)eslint
, eslint-plugin-react
eslint
, eslint-find-rules
, eslint-plugin-import
safe-publish-latest
to prepublish
no-unused-expressions
: flesh out optionseslint
to v3.2
, eslint-plugin-import
to v1.12
import/newline-after-import
linebreak-style
, new-parens
, no-continue
, no-lonely-if
, operator-assignment
, space-unary-ops
, dot-location
, no-extra-boolean-cast
, no-this-before-super
, require-yield
, no-path-concat
, no-label-var
, no-void
, constructor-super
, prefer-spread
, no-new-require
, no-undef-init
, no-unexpected-multiline
eslint
, eslint-find-rules
, eslint-plugin-import
, babel-tape-runner
; add babel-preset-airbnb
jsx-quotes
eslint-plugin-import
eslint
to v3; drop support for < node 4rest-spread-spacing
ruleno-mixed-operators
ruleimport
rules: no-named-as-default
, no-named-as-default-member
, no-extraneous-dependencies
object-property-newline
ruleno-prototype-builtins
ruleno-useless-rename
ruleunicode-bom
rulenewline-per-chained-call
: bump the limit to 4object-shorthand
: do not warn when the concise form would have a string literal as a nameprefer-const
to not warn when the variable is “read” before being assigned toquotes
: Use object option form rather than deprecated string form.eslint
, eslint-plugin-import
, eslint-find-rules
, tape
eslint-find-rules
on prepublish, not in testsimport/no-mutable-exports
no-class-assign
rule, to pair with no-func-assign
no-extra-parens
to include everything, except nestedBinaryExpressions
newline-per-chained-call
(#748)import/no-amd
import/no-duplicates
eslint
, eslint-plugin-import
, eslint-find-rules
no-unsafe-finally
ruleno-useless-computed-key
ruleeslint
, eslint-plugin-import
eslint-find-rules
, eslint-plugin-import
break
(#840)== null
(#542)eslint-config-airbnb
package.