Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Run yarn lint --fix
Browse files Browse the repository at this point in the history
To resolve:

```
src/Config.js
  86:18  error  Unnecessary 'else' after 'return'  no-else-return

src/Use.js
  3:15  error  `deepmerge` import should occur before import of `./ChainedMap`  import/order
```
  • Loading branch information
edmorley committed Jun 23, 2018
1 parent 7370962 commit 9384537
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ module.exports = class extends ChainedMap {
if (typeof value === 'function') {
if (value.__expression) {
return value.__expression;
} else if (!verbose && value.toString().length > 100) {
}
if (!verbose && value.toString().length > 100) {
return `function () { /* omitted long function */ }`;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Use.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const merge = require('deepmerge');
const ChainedMap = require('./ChainedMap');
const Orderable = require('./Orderable');
const merge = require('deepmerge');

module.exports = Orderable(
class extends ChainedMap {
Expand Down

0 comments on commit 9384537

Please sign in to comment.