FIX: ES3 props keyword bug in IE8; eslint errors

This commit is contained in:
1111hui 2016-06-20 15:41:50 +08:00
parent 0294293f82
commit 8550501fb2
2 changed files with 19 additions and 10 deletions

View file

@ -12,7 +12,7 @@
"curly": [2, "multi-line"],
"dot-location": [2, "property"],
"dot-notation": 2,
"dot-notation": [2, {"allowKeywords": false}],
"eqeqeq": [2, "allow-null"],
"no-alert": 2,
"no-caller": 2,
@ -55,6 +55,7 @@
"camelcase": 2,
"comma-spacing": 2,
"comma-style": 2,
"comma-dangle": [2, "never"],
"consistent-this": [2, "self"],
"eol-last": 2,
"func-style": [2, "declaration"],
@ -72,7 +73,7 @@
"operator-assignment": 2,
"operator-linebreak": [2, "after"],
"padded-blocks": [2, "never"],
"quote-props": [2, "as-needed"],
"quote-props": [2, "as-needed", {"keywords": true}],
"quotes": [2, "double", "avoid-escape"],
"semi-spacing": 0,
"semi": [2, "never"],