Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable indent linting via ESLint (#6936) | Whymarrh Whitby | 2019-08-01 | 1 | -1/+1 |
| | | | | | | * Enable indent linting via ESLint * yarn run lint:fix | ||||
* | Remove unused expressions (#6839) | Mark Stacey | 2019-07-12 | 1 | -0/+1 |
| | | | | | | | | | | Unused expressions are generally a mistake, as they don't do anything. The exceptions to this rule (short-circuit expressions and ternary expressions) have been allowed. The `webrtc-adapter` was previously ignored by eslint because it has a side-effect upon being imported. I removed the local variable instead, which should preserve the same side-effect without making eslint complain. | ||||
* | Declare variables before use (#6806) | Mark Stacey | 2019-07-06 | 1 | -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 Whitby | 2019-05-09 | 1 | -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 Whitby | 2018-11-17 | 1 | -11/+11 |
| | | | | | | * eslint . --fix * Upgrade all ESLint warnings to errors | ||||
* | add QUnit to eslint globals | brunobar79 | 2018-07-03 | 1 | -1/+2 |
| | |||||
* | add $ to globals | brunobar79 | 2018-07-03 | 1 | -1/+2 |
| | |||||
* | update eslint rules and paths | brunobar79 | 2018-07-03 | 1 | -0/+1 |
| | |||||
* | Replaces currency-input.js with NumericInput | Dan | 2018-05-29 | 1 | -0/+1 |
| | |||||
* | Require loglevel singleton in each module that uses it | bitpshr | 2018-04-14 | 1 | -1/+0 |
| | |||||
* | Merge branch 'master' into lint-sys-fix | kumavis | 2018-04-03 | 1 | -1/+2 |
|\ | |||||
| * | lint - lint json files in app/ | kumavis | 2018-04-03 | 1 | -1/+2 |
| | | |||||
* | | lint - rules - disallow 'event' global | kumavis | 2018-04-03 | 1 | -0/+1 |
|/ | |||||
* | add ESLint exceptions for //= and //-, re #3568 | Lazaridis | 2018-03-16 | 1 | -1/+1 |
| | |||||
* | Fix linter | Chi Kei Chan | 2017-10-21 | 1 | -2/+2 |
| | |||||
* | Add ShapeShift UI | Chi Kei Chan | 2017-10-21 | 1 | -0/+2 |
| | |||||
* | Fix merge conflict; separate onboarding buy screen | Chi Kei Chan | 2017-10-21 | 1 | -2/+6 |
| | |||||
* | lint fixes | kumavis | 2017-08-04 | 1 | -2/+2 |
| | |||||
* | Add support for async/await | Dan Finlay | 2017-05-13 | 1 | -1/+1 |
| | |||||
* | Add mocha and chai plugins eslint | Thomas Huang | 2017-05-05 | 1 | -1/+4 |
| | |||||
* | Add debug logging to ui routing logic. | Dan Finlay | 2017-02-21 | 1 | -0/+1 |
| | |||||
* | lint -ignore extra spaces before values in obj expression | kumavis | 2017-01-27 | 1 | -1/+1 |
| | |||||
* | Merge branch 'i328-MultiVault-v1' into i715-AddImportMenu | Dan Finlay | 2017-01-18 | 1 | -0/+1 |
|\ | |||||
| * | Develop import subviews | Dan Finlay | 2016-11-05 | 1 | -0/+1 |
| | | |||||
* | | lint - warn on unhandled err | kumavis | 2017-01-12 | 1 | -2/+2 |
| | | |||||
* | | Fix lint rules for ternary operator placement. | Kevin Serrano | 2016-11-12 | 1 | -1/+1 |
|/ | |||||
* | Linted & added salting to vault | Dan Finlay | 2016-10-21 | 1 | -1/+1 |
| | |||||
* | soften lint warnings | kumavis | 2016-09-16 | 1 | -2/+2 |
| | |||||
* | Fix extension tests | Dan Finlay | 2016-07-26 | 1 | -1/+1 |
| | |||||
* | Implement some cross-browser practices (#473) | Dan Finlay | 2016-07-22 | 1 | -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 linting | kumavis | 2016-06-24 | 1 | -4/+4 |
| | |||||
* | Auto linted | Dan Finlay | 2016-06-22 | 1 | -1/+0 |
| | |||||
* | Turn spaces back on | Dan Finlay | 2016-06-22 | 1 | -2/+2 |
| | |||||
* | Some manual fixes | Dan Finlay | 2016-06-22 | 1 | -3/+3 |
| | |||||
* | Got eslint running correctly | Dan Finlay | 2016-06-22 | 1 | -0/+152 |