Skip to content

Commit fdb1648

Browse files
committed
Exclude node_modules + ES9 support for JSHint
1 parent 2303e1a commit fdb1648

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/jshint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
run: npm install
2222

2323
- name: Run JSHint
24-
run: npx jshint .
24+
run: npx jshint . --exclude=node_modules

.jshintrc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
2-
"esversion": 6,
2+
"esversion": 9,
33
"node": true,
44
"undef": true,
5-
"unused": true
5+
"unused": true,
6+
"globals": {
7+
"angular": true,
8+
"$": true,
9+
"db": true
10+
}
611
}

0 commit comments

Comments
 (0)