add eslint

This commit is contained in:
Yanzhen Yu
2018-10-17 14:14:44 +08:00
parent 2eed038e6b
commit 904cc493db
6 changed files with 55 additions and 19 deletions

13
.eslintrc.json Normal file
View File

@@ -0,0 +1,13 @@
{
"extends": "google",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"rules": {
"require-jsdoc": "off",
"arrow-parens": "off",
"object-curly-spacing": "off"
},
"plugins": ["html"]
}