Commit e839a0f6 authored by Arunoda Susiripala's avatar Arunoda Susiripala Committed by Guillermo Rauch

Make the linting process faster. (#446)

parent bacb42ea
...@@ -23,12 +23,15 @@ ...@@ -23,12 +23,15 @@
"html-report": "nyc report --temp-directory=./coverage --reporter=html", "html-report": "nyc report --temp-directory=./coverage --reporter=html",
"jest": "jest --coverage", "jest": "jest --coverage",
"coveralls": "nyc report --temp-directory=./coverage --reporter=text-lcov | coveralls", "coveralls": "nyc report --temp-directory=./coverage --reporter=text-lcov | coveralls",
"lint": "standard && standard bin/*", "lint": "standard 'bin/*' 'client/**/*.js' 'examples/**/*.js' 'lib/**/*.js' 'pages/**/*.js' 'server/**/*.js' 'test/**/*.js'",
"prepublish": "gulp release", "prepublish": "gulp release",
"precommit": "npm run lint" "precommit": "npm run lint"
}, },
"standard": { "standard": {
"parser": "babel-eslint" "parser": "babel-eslint",
"ignore": [
"**/node_modules/**"
]
}, },
"dependencies": { "dependencies": {
"accepts": "1.3.3", "accepts": "1.3.3",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment