Skip to content

Commit a1b3c73

Browse files
committed
chore: use eslint-plugin-playlyfe and upgrade all packages
1 parent b6f067d commit a1b3c73

File tree

74 files changed

+1503
-691
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1503
-691
lines changed

.eslintrc.js

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,16 @@
11
/* @flow */
22
module.exports = {
3-
extends: [
4-
'eslint-config-airbnb-base/rules/best-practices',
5-
'eslint-config-airbnb-base/rules/errors',
6-
'eslint-config-airbnb-base/rules/node',
7-
'eslint-config-airbnb-base/rules/style',
8-
'eslint-config-airbnb-base/rules/variables',
9-
'eslint-config-airbnb-base/rules/es6',
10-
].map(require.resolve),
11-
12-
parser: require.resolve('babel-eslint'),
13-
14-
globals: {
15-
describe: false,
16-
beforeEach: false,
17-
jest: false,
18-
it: false,
19-
expect: false,
20-
test: false,
3+
plugins: [
4+
"playlyfe",
5+
],
216

22-
// flow
23-
$Exact: false,
24-
$Keys: false,
25-
},
7+
extends: [
8+
"plugin:playlyfe/js",
9+
"plugin:playlyfe/flow",
10+
"plugin:playlyfe/testing:jest",
11+
],
2612

27-
rules: {
28-
'no-param-reassign': ['error', { 'props': false }],
29-
'no-underscore-dangle': 'off',
30-
'global-require': 'off',
31-
'arrow-parens': 'off',
13+
env: {
14+
node: true,
3215
},
3316
};

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
1515
suppress_comment=\\(.\\|\n\\)*\\$FlowDisableNextLine
1616

1717
[version]
18-
^0.45.0
18+
^0.46.0

.vscode/settings.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"search.exclude": {
4+
"**/node_modules": true,
5+
"lib/**": true
6+
},
7+
8+
"prettier.eslintIntegration": true,
9+
"prettier.bracketSpacing": true,
10+
"prettier.semi": true,
11+
"prettier.parser": "flow",
12+
"prettier.tabWidth": 2,
13+
"prettier.singleQuote": true,
14+
"prettier.jsxBracketSameLine": false,
15+
"prettier.printWidth": 80,
16+
"prettier.trailingComma": "all",
17+
"prettier.useTabs": false
18+
}

flow-typed/npm/apollo-codegen_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: cfa0d8893229c95fd887ed3b5c6af094
2-
// flow-typed version: <<STUB>>/apollo-codegen_v0.10.13/flow_v0.45.0
1+
// flow-typed signature: b6f73c0c3859c2e1f264b0d51606058c
2+
// flow-typed version: <<STUB>>/apollo-codegen_v0.10.13/flow_v0.46.0
33

44
/**
55
* This is an autogenerated libdef stub for:

flow-typed/npm/babel-cli_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 62d5a342fa15ea201e409973136ddcb4
2-
// flow-typed version: <<STUB>>/babel-cli_v6.24.1/flow_v0.45.0
1+
// flow-typed signature: bef8cad2bb32428fdb45a8c60c66782c
2+
// flow-typed version: <<STUB>>/babel-cli_v6.24.1/flow_v0.46.0
33

44
/**
55
* This is an autogenerated libdef stub for:

flow-typed/npm/babel-jest_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: d4d4654ad3732220fd3ecfe85e58a0b4
2-
// flow-typed version: <<STUB>>/babel-jest_v20.0.0/flow_v0.45.0
1+
// flow-typed signature: e116367f1052e4367e3c1026974705e2
2+
// flow-typed version: <<STUB>>/babel-jest_v20.0.1/flow_v0.46.0
33

44
/**
55
* This is an autogenerated libdef stub for:

flow-typed/npm/babel-plugin-flow-runtime_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 6ffda7700a1b394304c135bdd9145fe5
2-
// flow-typed version: <<STUB>>/babel-plugin-flow-runtime_v0.11.1/flow_v0.45.0
1+
// flow-typed signature: dc60d7f07e7fb0f6458351084a2083fc
2+
// flow-typed version: <<STUB>>/babel-plugin-flow-runtime_v0.11.1/flow_v0.46.0
33

44
/**
55
* This is an autogenerated libdef stub for:

flow-typed/npm/babel-polyfill_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 0800d1ccddf24e17e857307bd563b4b0
2-
// flow-typed version: <<STUB>>/babel-polyfill_v6.23.0/flow_v0.45.0
1+
// flow-typed signature: e022b191a48f2fd6a8d4cdfbe18da486
2+
// flow-typed version: <<STUB>>/babel-polyfill_v6.23.0/flow_v0.46.0
33

44
/**
55
* This is an autogenerated libdef stub for:

flow-typed/npm/babel-preset-playlyfe_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: b5c1486632979e60a5cddfa948228a69
2-
// flow-typed version: <<STUB>>/babel-preset-playlyfe_v1.2.0/flow_v0.45.0
1+
// flow-typed signature: 48042622b76a327793ec9e6cea24665e
2+
// flow-typed version: <<STUB>>/babel-preset-playlyfe_v1.2.0/flow_v0.46.0
33

44
/**
55
* This is an autogenerated libdef stub for:

flow-typed/npm/babel-runtime_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 56d474d75123da9c54dfdd10fbb8d95b
2-
// flow-typed version: <<STUB>>/babel-runtime_v6.23.0/flow_v0.45.0
1+
// flow-typed signature: 7442be28083a77ed74071b25662c3c9c
2+
// flow-typed version: <<STUB>>/babel-runtime_v6.23.0/flow_v0.46.0
33

44
/**
55
* This is an autogenerated libdef stub for:

0 commit comments

Comments
 (0)