aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc
Commit message (Collapse)AuthorAgeFilesLines
* Declare variables before use (#6806)Mark Stacey2019-07-061-0/+1
| | | | | | | | | | | | | | | | While working on #6805, I noticed that many variables were being used before they were declared. Technically this worked fine in practice because we were using the `transform-es2015-block-scoping` Babel plugin, which transforms `let` and `const` to `var`, which is hoisted. However, after removing that Babel transformation, many things broke. All instances of variables or classes being used before declared have been fixed. The `no-use-before-define` eslint rule has been added to catch these cases going forward. The rule is disabled for function declarations for the moment, because those are always hoisted. We could disable that too if we want to, but it's purely stylistic and would require a lot more changes.
* Check for unused function arguments (#6583)Whymarrh Whitby2019-05-091-1/+1
| | | | | | | | | | * eslint: Check for unused function arguments * eslint: Ignore unused '_' in argument list Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly * Remove and rename unused arguments
* ESLint fixes (#5775)Whymarrh Whitby2018-11-171-11/+11
| | | | | | * eslint . --fix * Upgrade all ESLint warnings to errors
* add QUnit to eslint globalsbrunobar792018-07-031-1/+2
|
* add $ to globalsbrunobar792018-07-031-1/+2
|
* update eslint rules and pathsbrunobar792018-07-031-0/+1
|
* Replaces currency-input.js with NumericInputDan2018-05-291-0/+1
|
* Require loglevel singleton in each module that uses itbitpshr2018-04-141-1/+0
|
* Merge branch 'master' into lint-sys-fixkumavis2018-04-031-1/+2
|\
| * lint - lint json files in app/kumavis2018-04-031-1/+2
| |
* | lint - rules - disallow 'event' globalkumavis2018-04-031-0/+1
|/
* add ESLint exceptions for //= and //-, re #3568Lazaridis2018-03-161-1/+1
|
* Fix linterChi Kei Chan2017-10-211-2/+2
|
* Add ShapeShift UIChi Kei Chan2017-10-211-0/+2
|
* Fix merge conflict; separate onboarding buy screenChi Kei Chan2017-10-211-2/+6
|
* lint fixeskumavis2017-08-041-2/+2
|
* Add support for async/awaitDan Finlay2017-05-131-1/+1
|
* Add mocha and chai plugins eslintThomas Huang2017-05-051-1/+4
|
* Add debug logging to ui routing logic.Dan Finlay2017-02-211-0/+1
|
* lint -ignore extra spaces before values in obj expressionkumavis2017-01-271-1/+1
|
* Merge branch 'i328-MultiVault-v1' into i715-AddImportMenuDan Finlay2017-01-181-0/+1
|\
| * Develop import subviewsDan Finlay2016-11-051-0/+1
| |
* | lint - warn on unhandled errkumavis2017-01-121-2/+2
| |
* | Fix lint rules for ternary operator placement.Kevin Serrano2016-11-121-1/+1
|/
* Linted & added salting to vaultDan Finlay2016-10-211-1/+1
|
* soften lint warningskumavis2016-09-161-2/+2
|
* Fix extension testsDan Finlay2016-07-261-1/+1
|
* Implement some cross-browser practices (#473)Dan Finlay2016-07-221-1/+0
| | | | | | | | | | | | * Add mozilla plugin key to manifest * Move all chrome references into platform-checking module Addresses #453 * Add chrome global back to linter blacklist * Add tests
* stop pedantic lintingkumavis2016-06-241-4/+4
|
* Auto lintedDan Finlay2016-06-221-1/+0
|
* Turn spaces back onDan Finlay2016-06-221-2/+2
|
* Some manual fixesDan Finlay2016-06-221-3/+3
|
* Got eslint running correctlyDan Finlay2016-06-221-0/+152