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": { "rules": {
"curly": [2, "multi-line"], "curly": [2, "multi-line"],
"eol-last": [2], "eol-last": [2],
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"indent": [2, 4], "indent": [2, 4],
"quotes": [2, "single"], "quotes": [2, "single"],
"linebreak-style": [2, "unix"], "linebreak-style": [2, "unix"],

View file

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

View file

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