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).
This commit is contained in:
Nils Knappmeier
2019-12-14 17:48:08 +01:00
committed by Nils Knappmeier
parent 14b621caf5
commit ac4655ee95
-1
View File
@@ -17,7 +17,6 @@ module.exports = {
// Best Practices //
//----------------//
'default-case': 'warn',
'dot-notation': 'warn',
'guard-for-in': 'warn',
'no-alert': 'error',
'no-caller': 'error',