This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run eslint --fix with prettier config
- Loading branch information
1 parent
1d33e1f
commit 69e3495
Showing
26 changed files
with
440 additions
and
329 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,4 +1,4 @@ | ||
var merge = require('merge'); | ||
const merge = require('merge'); | ||
|
||
module.exports = { | ||
parser: 'babel-eslint', | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
module.exports = { | ||
plugins: [ | ||
'lodash', | ||
], | ||
plugins: ['lodash'], | ||
|
||
rules: require('./rules/lodash'), | ||
}; |
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,25 +1,17 @@ | ||
var merge = require('merge'); | ||
const merge = require('merge'); | ||
|
||
module.exports = { | ||
env: { | ||
mocha: true, | ||
}, | ||
|
||
plugins: [ | ||
'mocha', | ||
'chai-expect', | ||
'shopify', | ||
], | ||
plugins: ['mocha', 'chai-expect', 'shopify'], | ||
|
||
rules: merge( | ||
require('./rules/mocha'), | ||
require('./rules/chai-expect'), | ||
{ | ||
'shopify/sinon-prefer-meaningful-assertions': 'warn', | ||
// Chai expect syntax produces unused expression warnings | ||
'no-unused-expressions': 'off', | ||
// Chai expect syntax can have long chained calls | ||
'newline-per-chained-call': 'off', | ||
} | ||
), | ||
rules: merge(require('./rules/mocha'), require('./rules/chai-expect'), { | ||
'shopify/sinon-prefer-meaningful-assertions': 'warn', | ||
// Chai expect syntax produces unused expression warnings | ||
'no-unused-expressions': 'off', | ||
// Chai expect syntax can have long chained calls | ||
'newline-per-chained-call': 'off', | ||
}), | ||
}; |
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 |
---|---|---|
|
@@ -3,9 +3,7 @@ module.exports = { | |
node: true, | ||
}, | ||
|
||
plugins: [ | ||
'node', | ||
], | ||
plugins: ['node'], | ||
|
||
rules: require('./rules/node'), | ||
}; |
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
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
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
Oops, something went wrong.