style: changes in eslint config for eslint v4

master
Evgeny Poberezkin 2017-07-06 21:52:48 +01:00
parent 3392684128
commit e25fc25d3d
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ rules:
curly: [2, multi-or-nest, consistent]
dot-location: [2, property]
dot-notation: 2
indent: [2, 2, SwitchCase: 1]
indent-legacy: [2, 2, SwitchCase: 1]
linebreak-style: [2, unix]
new-cap: 2
no-console: [2, allow: [warn, error]]
@ -26,3 +26,4 @@ rules:
strict: [2, global]
valid-jsdoc: [2, requireReturn: false]
no-control-regex: 0
no-useless-escape: 0