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",
|
||||
"jest": "jest --coverage",
|
||||
"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",
|
||||
"precommit": "npm run lint"
|
||||
},
|
||||
"standard": {
|
||||
"parser": "babel-eslint"
|
||||
"parser": "babel-eslint",
|
||||
"ignore": [
|
||||
"**/node_modules/**"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"accepts": "1.3.3",
|
||||
|
|
Loading…
Reference in a new issue