style: changes in eslint config for eslint v4
parent
3392684128
commit
e25fc25d3d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue