Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 48a103c

Browse files
committed
- added jshint options
- added jshintignore for files that are ok, but produce un-ignorable errors jhnns#19
1 parent a3c91fd commit 48a103c

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.jshintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
lib/__get__.js
2+
lib/__set__.js
3+
test/testModules/strictModule.js
4+
test/testModules/someOtherModule.js
5+
node_modules

.jshintrc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
{
2-
"node": true
3-
}
1+
{
2+
"browser": true,
3+
"node": true,
4+
"expr": true,
5+
"globals": ["describe", "it", "before", "after", "beforeEach", "afterEach"]
6+
}

0 commit comments

Comments
 (0)