เพิ่ม eslint
This commit is contained in:
8
.eslintrc
Normal file
8
.eslintrc
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
parserOptions:
|
||||||
|
sourceType: module
|
||||||
|
|
||||||
|
extends:
|
||||||
|
"eslint:recommended"
|
||||||
|
|
||||||
|
rules:
|
||||||
|
no-cond-assign: 0
|
||||||
@@ -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"
|
"zip": "zip -j build/d3-spring-model.zip -- LICENSE README.md build/d3-spring-model.js build/d3-spring-model.min.js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"eslint": "4",
|
||||||
"rollup": "0.36",
|
"rollup": "0.36",
|
||||||
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony"
|
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user