-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.jshintrc
More file actions
10 lines (10 loc) · 787 Bytes
/
.jshintrc
File metadata and controls
10 lines (10 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
{
"asi": true, // Tolerate Automatic Semicolon Insertion (no semicolons).
"browser": true, // Standard browser globals e.g. `window`, `document`.
"dojo": true, // Enable globals exposed by Dojo Toolkit.
"jquery": true, // Enable globals exposed by jQuery JavaScript library.
"node": true, // Enable globals available when code is running inside of the NodeJS runtime environment.
"shadow": true, // This option suppresses warnings about variable shadowing i.e. declaring a variable that had been already declared somewhere in the outer scope.
"laxcomma": true, // This option suppresses warnings about comma-first coding style.
"laxbreak": true // This option suppresses most of the warnings about possibly unsafe line breakings in your code.
}