Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kurohune538 committed Mar 4, 2016
1 parent d9ddc11 commit fadc90a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = {
"id-blacklist": 0,
"id-length": 0,
"id-match": 0,
"indent": [1, 2, {
"indent": [1, "tab", {
"VariableDeclarator": { "var": 2, "let": 2, "const": 3 },
"SwitchCase": 1
}],
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
},
"dependencies": {
"react": "^0.14.7",
"react-dom": "^0.14.7"
"react-dom": "^0.14.7",
"react-router": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion src/scripts/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = {
"react/jsx-equals-spacing": [1, "never"],
"react/jsx-handler-names": 0,
"react/jsx-indent-props": [1, 2],
"react/jsx-indent": [1, 2],
"react/jsx-indent": [1, "tab"],
"react/jsx-key": 2,
"react/jsx-max-props-per-line": [1, { "maximum": 5 }],
"react/jsx-no-bind": [1, {
Expand Down
10 changes: 10 additions & 0 deletions src/scripts/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Router, Route, Link } from "react-router";
import React from "react";

const Header = React.createClass({
render() {
return (
<div>hoge</div>
);
}
});

0 comments on commit fadc90a

Please sign in to comment.