mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
chore: add lint script
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
"ecmaFeatures": {
|
||||
"blockBindings": true,
|
||||
"forOf": true,
|
||||
"blockBindings": true,
|
||||
"defaultParams": true,
|
||||
"globalReturn": false,
|
||||
"modules": true,
|
||||
@@ -59,7 +58,6 @@
|
||||
"comma-style": [2, "last"],
|
||||
"consistent-this": [1, "self"],
|
||||
"eol-last": 0,
|
||||
"new-cap": 0,
|
||||
"new-parens": 2,
|
||||
"no-array-constructor": 2,
|
||||
"no-mixed-spaces-and-tabs": 2,
|
||||
|
||||
+3
-1
@@ -11,6 +11,7 @@
|
||||
"babel-loader": "^5.3.2",
|
||||
"chai": "^3.4.1",
|
||||
"core-js": "^1.2.1",
|
||||
"eslint": "^1.10.3",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-cli": "^0.1.13",
|
||||
"grunt-contrib-nodeunit": "^0.4.1",
|
||||
@@ -39,7 +40,8 @@
|
||||
"test": "grunt test",
|
||||
"integrationtest": "grunt integrationtest",
|
||||
"build": "webpack && webpack --config webpack.config.min.js && grunt uglyasm && webpack --config webpack.node.config.js",
|
||||
"watch": "webpack --watch"
|
||||
"watch": "webpack --watch",
|
||||
"lint": "eslint src"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user