mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -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": {
|
"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"],
|
||||||
|
|
|
@ -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">
|
||||||
|
|
||||||
|
|
|
@ -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/">
|
||||||
|
|
Loading…
Reference in a new issue