Enable quote-props "as-needed"
This rule aims to enforce use of quotes in property names, only in cases where they are strictly required (such as +/- in the name). In all other cases, it will point out unecessary quotes. http://eslint.org/docs/rules/quote-props Change-Id: I7925329a3291ddb836ba9d971bdab529848596de
This commit is contained in:
parent
165bb5bde2
commit
496aa03556
|
@ -686,7 +686,9 @@ rules:
|
|||
|
||||
# Require quotes around object literal property names
|
||||
# http://eslint.org/docs/rules/quote-props
|
||||
quote-props: 0 # TODO(krotscheck): Discuss & Activate
|
||||
quote-props:
|
||||
- 2
|
||||
- "as-needed"
|
||||
|
||||
# Specify whether backticks, double or single quotes should be used
|
||||
# http://eslint.org/docs/rules/quotes
|
||||
|
|
Loading…
Reference in New Issue