mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-29 18:46:20 -05:00
Enforce no trailing spaces
This commit is contained in:
parent
003039dd47
commit
c4d7cdbdb2
3 changed files with 5 additions and 4 deletions
|
@ -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"],
|
||||
|
|
|
@ -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">
|
||||
|
||||
|
|
|
@ -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/">
|
||||
|
|
Loading…
Reference in a new issue