1
0
Fork 0
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:
Arunoda Susiripala 2016-12-21 06:43:11 +05:30 committed by Guillermo Rauch
parent bacb42ead4
commit e839a0f6d5

View file

@ -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",