Skip to content

Commit 2048099

Browse files
Simplify build. Static.render() now always returns a Promise
1 parent de281d8 commit 2048099

File tree

26 files changed

+3796
-3483
lines changed

26 files changed

+3796
-3483
lines changed

.babelrc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
{
2-
"presets": ["es2015"],
3-
"plugins": ["add-module-exports"]
2+
"presets": ["env"],
3+
"plugins": [
4+
"add-module-exports",
5+
[
6+
"transform-react-jsx",
7+
{
8+
"pragma": "h"
9+
}
10+
]
11+
]
412
}

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"rules": {
1212
"arrow-parens": ["error", "as-needed"],
1313
"no-else-return": "error",
14-
"no-multiple-empty-lines": "off"
14+
"no-multiple-empty-lines": "off",
15+
"no-unused-vars": ["error", { "varsIgnorePattern": "(h|es6)" }]
1516
}
1617
}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
language: ruby
33

44
rvm:
5-
- 2.3.1
5+
- 2.5
66

77
before_install:
88
- nvm install node

0 commit comments

Comments
 (0)