Skip to content

Commit

Permalink
Merge pull request #2 from msn0/refactor
Browse files Browse the repository at this point in the history
Refactor
  • Loading branch information
msn0 authored Jan 15, 2019
2 parents 1ed5044 + ab6b590 commit 8096ba6
Show file tree
Hide file tree
Showing 51 changed files with 1,419 additions and 7,720 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
8 changes: 8 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{
"extends": "helmut",
"plugins": ["react"],
"rules": {
"react/jsx-curly-spacing": ["error", { "when": "always", "spacing": {
"objectLiterals": "never"
} }],
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error"
},
"env": {
"jest": true
}
Expand Down
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@ before_install:
# Launch XVFB
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- cd example
- npm i
- cd ..
1 change: 0 additions & 1 deletion entry-template.js → entry-template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ if (presets && presets.length > 0) {
} else {
render(<Component />, document.body);
}

Loading

0 comments on commit 8096ba6

Please sign in to comment.