Skip to content

Commit 317d74a

Browse files
committed
jshint: ignore W030 errors
1 parent 5e7a1dc commit 317d74a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.jshintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"node": true,
3+
"-W030": false // allow foo() || log('warn') shortcuts
4+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
"bin": "./phantomas.js",
3838
"preferGlobal": true,
3939
"scripts": {
40-
"lint": "jshint core/ modules/"
40+
"lint": "jshint --verbose core/ modules/"
4141
}
4242
}

0 commit comments

Comments
 (0)