Enforce no trailing spaces

This commit is contained in:
Ray Schamp 2015-09-10 14:02:31 -04:00
parent 003039dd47
commit c4d7cdbdb2
3 changed files with 5 additions and 4 deletions

View file

@ -2,6 +2,7 @@
"rules": {
"curly": [2, "multi-line"],
"eol-last": [2],
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"indent": [2, 4],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],

View file

@ -15,9 +15,9 @@ module.exports = React.createClass({
},
render: function () {
return (
<Box
className="news"
title="Scratch News"
<Box
className="news"
title="Scratch News"
moreTitle="View All"
moreHref="/news">

View file

@ -10,7 +10,7 @@ var View = React.createClass({
return (
<div className="inner">
<h1>Box Component</h1>
<Box
<Box
title="Some Title"
more="Cat Gifs"
moreUrl="http://www.catgifpage.com/">