Skip to content

Commit 3695f0c

Browse files
committed
Update dependencies, configurations, and tooling
1 parent aee4754 commit 3695f0c

File tree

8 files changed

+3975
-24
lines changed

8 files changed

+3975
-24
lines changed

.babelrc

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
22
"presets": [
3-
"latest",
4-
"stage-0"
3+
["env", {
4+
"targets": {
5+
"node": 6
6+
}
7+
}]
8+
],
9+
"plugins": [
10+
"transform-object-rest-spread",
11+
"transform-flow-strip-types"
512
]
613
}

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
!.eslintrc.js
22
lib
33
coverage
4+
flow-typed

.eslintrc.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module.exports = {
2-
extends: 'airbnb-base',
2+
extends: [
3+
'airbnb-base',
4+
'plugin:flowtype/recommended',
5+
],
36
parser: 'babel-eslint',
47
plugins: [
5-
'babel',
8+
'flowtype',
69
],
7-
rules: {
8-
'babel/func-params-comma-dangle': ['error', 'always-multiline'],
9-
},
1010
};

.flowconfig

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[ignore]
2+
3+
[include]
4+
5+
[libs]
6+
7+
[options]

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: node_js
22
node_js:
3-
- "4"
4-
- "5"
3+
- "7"
54
- "6"
65
script:
76
- npm test -- --coverage && cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js

0 commit comments

Comments
 (0)