-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bugs found while running ESLint and added
tabindex
to improve…
… accessibility
- Loading branch information
Rafael Miranda
committed
Feb 21, 2017
1 parent
7552692
commit 717d295
Showing
36 changed files
with
78 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
{ | ||
"boss": true, // true: Tolerate assignments where comparisons would be expected | ||
"curly": true, // true: Require {} for every new block or scope | ||
"eqeqeq": true, // true: Require triple equals (===) for comparison | ||
"expr": true, // true: Require triple equals (===) for comparison | ||
"immed": true, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());` | ||
"latedef": false, // true: Require variables/functions to be defined before being used | ||
"newcap": true, // true: Require capitalization of all constructor functions e.g. `new F()` | ||
"noarg": true, // true: Prohibit use of `arguments.caller` and `arguments.callee` | ||
"sub": true, // true: Tolerate using `[]` notation when it can still be expressed in dot notation | ||
"undef": true, // true: Require all non-global variables to be declared (prevents global leaks) | ||
"node": true, // Node.js | ||
"-W117": false, // true: Ignore `not defined` errors as an example of using a rule (W117) by code. | ||
"esversion": 6 // Use ES6 support | ||
"env": { | ||
"es6": true, | ||
"browser": true, | ||
"mocha": true, | ||
"node": true, | ||
"jquery": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"no-console": 0, | ||
"no-undef" : 0, | ||
"no-case-declarations": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.