Skip to content

Commit

Permalink
chore: disable "dot-notation" rule
Browse files Browse the repository at this point in the history
- 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).
  • Loading branch information
nknapp committed Dec 14, 2019
1 parent 14b621c commit ac4655e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.js
Expand Up @@ -17,7 +17,6 @@ module.exports = {
// Best Practices //
//----------------//
'default-case': 'warn',
'dot-notation': 'warn',
'guard-for-in': 'warn',
'no-alert': 'error',
'no-caller': 'error',
Expand Down

0 comments on commit ac4655e

Please sign in to comment.