เพิ่ม eslint

This commit is contained in:
Pitchaya Boonsarngsuk
2018-03-22 15:24:45 +00:00
parent b64b99c694
commit 6a46342afd
2 changed files with 9 additions and 0 deletions

8
.eslintrc Normal file
View File

@@ -0,0 +1,8 @@
parserOptions:
sourceType: module
extends:
"eslint:recommended"
rules:
no-cond-assign: 0

View File

@@ -17,6 +17,7 @@
"zip": "zip -j build/d3-spring-model.zip -- LICENSE README.md build/d3-spring-model.js build/d3-spring-model.min.js"
},
"devDependencies": {
"eslint": "4",
"rollup": "0.36",
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony"
},