Skip to content

Commit faa3c7a

Browse files
committed
Make the linting process faster.
1 parent bacb42e commit faa3c7a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@
2323
"html-report": "nyc report --temp-directory=./coverage --reporter=html",
2424
"jest": "jest --coverage",
2525
"coveralls": "nyc report --temp-directory=./coverage --reporter=text-lcov | coveralls",
26-
"lint": "standard && standard bin/*",
26+
"lint": "standard 'bin/*' 'client/**/*.js' 'examples/**/*.js' 'lib/**/*.js' 'pages/**/*.js' 'server/**/*.js' 'test/**/*.js'",
2727
"prepublish": "gulp release",
2828
"precommit": "npm run lint"
2929
},
3030
"standard": {
31-
"parser": "babel-eslint"
31+
"parser": "babel-eslint",
32+
"ignore": [
33+
"**/node_modules/**"
34+
]
3235
},
3336
"dependencies": {
3437
"accepts": "1.3.3",

0 commit comments

Comments
 (0)