Skip to content

Commit

Permalink
make eslint warning error
Browse files Browse the repository at this point in the history
  • Loading branch information
fc-io committed Mar 27, 2016
1 parent 91b507a commit ac0724c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
"space-before-function-paren": 2, // require or disallow a space before function opening parenthesis
"space-in-parens": 2, // require or disallow spaces inside parentheses
"space-infix-ops": 2, // require spaces around operators
"space-unary-ops": [1, { "words": true, "nonwords": false }], // require or disallow spaces before/after unary operators (words on by default, nonwords off by default)
"space-unary-ops": [2, { "words": true, "nonwords": false }], // require or disallow spaces before/after unary operators (words on by default, nonwords off by default)
"spaced-comment": 2, // require or disallow a space immediately following the // or /* in a comment
"wrap-regex": 2, // require regex literals to be wrapped in parentheses (off by default)

Expand Down
2 changes: 1 addition & 1 deletion app/components/hello.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class Hello extends React.Component {
render () {
return (
<div>
<h1 className="cblue">Hello World!!</h1>
<h1 className="cblue">Hello World!</h1>
<p>{`Toggled: ${this.state.toggle}`}</p>
<button onClick={this.toggle}>Toggle</button>
</div>
Expand Down

0 comments on commit ac0724c

Please sign in to comment.