Skip to content
Permalink
Browse files

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).
  • Loading branch information
nknapp committed Dec 14, 2019
1 parent 14b621c commit ac4655ee9516d5fc1b29d4d52e17c1751ffc8324
Showing with 0 additions and 1 deletion.
  1. +0 −1 .eslintrc.js
@@ -17,7 +17,6 @@ module.exports = {
// Best Practices //
//----------------//
'default-case': 'warn',
'dot-notation': 'warn',
'guard-for-in': 'warn',
'no-alert': 'error',
'no-caller': 'error',

0 comments on commit ac4655e

Please sign in to comment.
You can’t perform that action at this time.