@@ -9,14 +9,14 @@ ESLint audits
9
9
● Disallow assignment operators in conditional expressions 0
10
10
● Disallow reassigning \` const\` variables 0
11
11
● Disallow the use of \` debugger\` 0
12
- ● Disallow invalid regular expression strings in \` RegExp\` construct 0
13
- ors
14
- ● Disallow the use of undeclared variables unless mentioned in \` /*g 0
15
- lobal */\` comments
12
+ ● Disallow invalid regular expression strings in \` RegExp\` 0
13
+ constructors
14
+ ● Disallow the use of undeclared variables unless mentioned in 0
15
+ \` /*global */\` comments
16
16
● Disallow loops with a body that allows only one iteration 0
17
17
● Disallow negating the left operand of relational operators 0
18
- ● Disallow use of optional chaining in contexts where the \` undefine 0
19
- d \` value is not allowed
18
+ ● Disallow use of optional chaining in contexts where the 0
19
+ \` undefined \` value is not allowed
20
20
● Disallow unused variables 1 warning
21
21
● Require calls to \` isNaN()\` when checking for \` NaN\` 0
22
22
● Enforce comparing \` typeof\` expressions against valid strings 0
@@ -29,20 +29,20 @@ ESLint audits
29
29
● Disallow variable declarations from shadowing variables declared 3 warnings
30
30
in the outer scope
31
31
● Require \` let\` or \` const\` instead of \` var\` 0
32
- ● Require or disallow method and property shorthand syntax for obje 3 warnings
33
- ct literals
32
+ ● Require or disallow method and property shorthand syntax for 3 warnings
33
+ object literals
34
34
● Require using arrow functions for callbacks 0
35
- ● Require \` const\` declarations for variables that are never reassig 1 warning
36
- ned after declared
35
+ ● Require \` const\` declarations for variables that are never 1 warning
36
+ reassigned after declared
37
37
● Disallow using Object.assign with an object literal as the first 0
38
38
argument and prefer the use of object spread instead
39
39
● Require or disallow \\ "Yoda\\ " conditions 0
40
40
● Disallow missing \` key\` props in iterators/collection literals 1 warning
41
41
● Disallow missing props validation in a React component definition 6 warnings
42
42
● Disallow missing React when using JSX 0
43
43
● enforces the Rules of Hooks 0
44
- ● verifies the list of dependencies for Hooks like useEffect and si 2 warnings
45
- milar
44
+ ● verifies the list of dependencies for Hooks like useEffect and 2 warnings
45
+ similar
46
46
● Disallow missing displayName in a React component definition 0
47
47
● Disallow comments from being inserted as text nodes 0
48
48
● Disallow duplicate properties in JSX 0
@@ -51,8 +51,8 @@ ESLint audits
51
51
● Disallow React to be incorrectly marked as unused 0
52
52
● Disallow variables used in JSX to be incorrectly marked as unused 0
53
53
● Disallow passing of children as props 0
54
- ● Disallow when a DOM element is using both children and dangerousl 0
55
- ySetInnerHTML
54
+ ● Disallow when a DOM element is using both children and 0
55
+ dangerouslySetInnerHTML
56
56
● Disallow usage of deprecated methods 0
57
57
● Disallow direct mutation of this.state 0
58
58
● Disallow usage of findDOMNode 0
0 commit comments