New rules
Improvements
prevent-abbreviations
: Addignore
option (#891) 898fcb4no-useless-undefined
: AddcheckArguments
option (#877) a1617b9consistent-function-scoping
: Allow ignoring arrow functions (#932) 17bf27c- Rewrite
error-message
rule (#922) 877bef9 - Improve
prefer-query-selector
rule (#908) 635601d prevent-abbreviations
: Addvar
/vars
replacements (#894) 07dadf5prevent-abbreviations
: Addver
→version
replacement (#870) e755cddprefer-number-properties
: Supportcomputed
key ofClassProperty
MethodDefinition
Property
(#886) 769ac35prefer-optional-catch-binding
: Improve output (#884) 375d11ano-null
: ExcludeuseRef(null)
andReact.useRef(null)
(#890) 7a4dbf4prefer-number-properties
: AddInfinity
support (#874) 643169bno-console-spaces
: Improve report location (#866) 190cbacno-useless-undefined
: IgnoretoHaveBeenCalledWith
method (#876) d10a641prefer-replace-all
: Handleu
flag (#879) d98d867no-for-loop
: Improve output when using the TypeScript parser (#883) 52edd3bno-for-loop
: Respect declaration kind (#878) df3f7bdno-for-loop
: Only report on the for loop head part (#885) e9c6963
Fixes
- Fix
false
import styles seen in reported problem messages (#910) d669707 import-style
: Fix crash onbabel-eslint
parser (#927) 9f5f721prevent-abbreviations
: Fix crash with TypeScript parser (#913) 9d5eca6prefer-query-selector
: Fix crash on calling without argument (#906) 36908daimport-style
: Fix crash on destructing require (#904) 8335d41new-for-builtins
: Remove auto-fix fornew String
,new Boolean()
, andnew Number()
(#907) dfc1ce0