Skip to content

Commit

Permalink
Require strict mode for Node scripts (for Node 4/5 compatibility).
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Sep 20, 2016
1 parent 2a8da3e commit 9f5d5bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"sourceType": "script"
},
"rules": {
"strict": [0, "global"]
"strict": [2, "global"]
}
}
3 changes: 2 additions & 1 deletion loaders/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"sourceType": "script"
},
"rules": {
"no-invalid-this": 0
"no-invalid-this": 0,
"strict": [2, "global"]
}
}
2 changes: 1 addition & 1 deletion scripts/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"sourceType": "script"
},
"rules": {
"strict": [0, "global"]
"strict": [2, "global"]
}
}

0 comments on commit 9f5d5bf

Please sign in to comment.