Skip to content

Commit ac4655e

Browse files
committedDec 14, 2019
chore: disable "dot-notation" rule
- I don't think it makes much sense. In some cases, it is more readable to wrap property access in quotes, some times not, but there is no universal rule for that. - a promises "catch"-function should not be wrapped, but it has to be, if "allow-keywords" is set to false - an "if"-helper should be wrapped, but it is not allowed to be if "allow-keywords" is set to true (default).
1 parent 14b621c commit ac4655e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎.eslintrc.js

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ module.exports = {
1717
// Best Practices //
1818
//----------------//
1919
'default-case': 'warn',
20-
'dot-notation': 'warn',
2120
'guard-for-in': 'warn',
2221
'no-alert': 'error',
2322
'no-caller': 'error',

0 commit comments

Comments
 (0)
Please sign in to comment.