Skip to content

Commit acfff72

Browse files
committed
update lint
1 parent fbf7a2d commit acfff72

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@
2727
"babelify": "^7.2.0",
2828
"browser-sync": "^2.11.2",
2929
"browserify": "^12.0.1",
30-
"eslint": "^2.7.0",
31-
"eslint-plugin-react": "^4.2.3",
3230
"exorcist": "^0.4.0",
3331
"gulp": "^3.9.0",
34-
"gulp-eslint": "^2.0.0",
32+
"gulp-eslint": "^3.0.1",
33+
"eslint-plugin-react": "^7.0.1",
3534
"gulp-if-else": "^1.0.3",
3635
"gulp-uglify": "^1.5.3",
3736
"jquery": "^2.2.2",

public/assets/spotireact.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
flex-wrap: wrap;
2020
box-sizing: border-box;
2121
width: 100%;
22-
height: 430px;
22+
height: 645px;
2323
overflow-y: scroll;
2424
overflow-x: hidden;
2525
}

src/components/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export default class Main extends React.Component {
7474
trackPlaying = {this.state.trackPlaying}
7575
trackPaused = {this.state.trackPaused}
7676
/>
77+
<Footer />
7778
</div>
7879
)
7980
}

src/components/pause-svg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react'
22

33
export default class PauseSvg extends React.Component {
44
render () {
5-
let display = this.props.trackPaused && this.props.isTrackPlaying ? 'u-displayBlock' : 'u-displayNone'
5+
const display = this.props.trackPaused && this.props.isTrackPlaying ? 'u-displayBlock' : 'u-displayNone'
66
return (
77
<svg width="35px" height="35px" className={display} onClick={this.props.pauseTrack} viewBox="901 369 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
88
<desc>Created with Sketch.</desc>

src/components/play-svg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react'
22

33
export default class PlaySvg extends React.Component {
44
render () {
5-
let display = this.props.trackPaused && this.props.isTrackPlaying ? 'u-displayNone' : 'u-displayBlock'
5+
const display = this.props.trackPaused && this.props.isTrackPlaying ? 'u-displayNone' : 'u-displayBlock'
66
return (
77
<svg width='35px' height='35px' className={display} onClick={(e) => this.props.playTrack(e, this.props.preview, this.props.trackId) } viewBox='901 365 35 35' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlnsXlink='http://www.w3.org/1999/xlink'>
88
<desc>Created with Sketch.</desc>

src/components/track.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import PauseSvg from './pause-svg'
55
export default class Track extends React.Component {
66
render () {
77
const {url} = this.props.track.album.images[1]
8-
let isTrackPlaying = this.props.track.id === this.props.trackPlaying && this.props.trackPaused ? 'Waves' : ''
8+
const isTrackPlaying = this.props.track.id === this.props.trackPlaying && this.props.trackPaused ? 'Waves' : ''
99

1010
return (
1111
<article className='track' style={{backgroundImage: `url(${url})`}}>

0 commit comments

Comments
 (0)