Skip to content

File tree

.eslintrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ rules:
3333
no-unreachable: 2
3434
## require valid typeof compared string like typeof foo === 'strnig'
3535
valid-typeof: 2
36+
## disallow controls characters in regular expressions
37+
no-control-regex: 2
38+
## disallow extra boolean casts
39+
no-extra-boolean-cast : 2
40+
## validate regular expressions
41+
no-invalid-regexp: 2
42+
## forbid weird whitespace characters
43+
no-irregular-whitespace: 2
44+
## avoid unexpected multiline expressions
45+
no-unexpected-multiline: 2
3646

3747
# Best Practices
3848
# list: https://github.com/eslint/eslint/tree/master/docs/rules#best-practices

0 commit comments

Comments
 (0)