mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Make the linting process faster. (#446)
This commit is contained in:
parent
bacb42ead4
commit
e839a0f6d5
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue