Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flow syntax #397

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
31 changes: 17 additions & 14 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
{
"presets": [["airbnb", {
"modules": false,
"looseClasses": true,
"additionalTargets": {
"chrome": "30",
"android": "4",
"firefox": "25",
"ios": "6",
"safari": "6",
"ie": "9",
"edge": "12",
"opera": "13",
},
}]],
"presets": [
["airbnb", {
"modules": false,
"looseClasses": true,
"additionalTargets": {
"chrome": "30",
"android": "4",
"firefox": "25",
"ios": "6",
"safari": "6",
"ie": "9",
"edge": "12",
"opera": "13",
},
}],
"@babel/preset-flow",
],

"env": {
"test": {
Expand Down
7 changes: 6 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@

[libs]

[lints]
ambiguous-object-type=error
deprecated-type=error
deprecated-utility=error

[options]
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
include_warnings=true
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ notifications:
on_start: never

before_script:
- (cd ./examples && npm install)
- npm run build

after_script:
Expand Down
Loading