-
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.
chore: use eslint-plugin-playlyfe and upgrade all packages
- Loading branch information
1 parent
b6f067d
commit a1b3c73
Showing
74 changed files
with
1,503 additions
and
691 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,33 +1,16 @@ | ||
/* @flow */ | ||
module.exports = { | ||
extends: [ | ||
'eslint-config-airbnb-base/rules/best-practices', | ||
'eslint-config-airbnb-base/rules/errors', | ||
'eslint-config-airbnb-base/rules/node', | ||
'eslint-config-airbnb-base/rules/style', | ||
'eslint-config-airbnb-base/rules/variables', | ||
'eslint-config-airbnb-base/rules/es6', | ||
].map(require.resolve), | ||
|
||
parser: require.resolve('babel-eslint'), | ||
|
||
globals: { | ||
describe: false, | ||
beforeEach: false, | ||
jest: false, | ||
it: false, | ||
expect: false, | ||
test: false, | ||
plugins: [ | ||
"playlyfe", | ||
], | ||
|
||
// flow | ||
$Exact: false, | ||
$Keys: false, | ||
}, | ||
extends: [ | ||
"plugin:playlyfe/js", | ||
"plugin:playlyfe/flow", | ||
"plugin:playlyfe/testing:jest", | ||
], | ||
|
||
rules: { | ||
'no-param-reassign': ['error', { 'props': false }], | ||
'no-underscore-dangle': 'off', | ||
'global-require': 'off', | ||
'arrow-parens': 'off', | ||
env: { | ||
node: true, | ||
}, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"search.exclude": { | ||
"**/node_modules": true, | ||
"lib/**": true | ||
}, | ||
|
||
"prettier.eslintIntegration": true, | ||
"prettier.bracketSpacing": true, | ||
"prettier.semi": true, | ||
"prettier.parser": "flow", | ||
"prettier.tabWidth": 2, | ||
"prettier.singleQuote": true, | ||
"prettier.jsxBracketSameLine": false, | ||
"prettier.printWidth": 80, | ||
"prettier.trailingComma": "all", | ||
"prettier.useTabs": false | ||
} |
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
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.