diff --git a/.eslintrc.js b/.eslintrc.js
index 3d5c97a6..94def0e8 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -18,8 +18,10 @@ module.exports = {
"new-cap": 0,
"eol-last": 0,
"jsx-quotes": 0,
- "consistent-return": 0
+ "consistent-return": 0,
+ "import/no-named-default": 0,
},
+ "parser": "babel-eslint",
"plugins": [
"standard",
"react"
diff --git a/app/containers/aboutPage/index.js b/app/containers/aboutPage/index.js
index aedefeba..64631daa 100644
--- a/app/containers/aboutPage/index.js
+++ b/app/containers/aboutPage/index.js
@@ -16,7 +16,7 @@ class AboutPage extends Component {
const licenseList = []
/* Add Evil icons license as an exception */
licenseList.push(
-
+
Evil icons@1.9.0
License: MIT
diff --git a/app/containers/gistEditorForm/index.js b/app/containers/gistEditorForm/index.js
index 6849f070..43287ea5 100644
--- a/app/containers/gistEditorForm/index.js
+++ b/app/containers/gistEditorForm/index.js
@@ -179,7 +179,7 @@ const selector = formValueSelector('gistEditorForm')
const GistEditorForm = connect(
state => {
const gistFiles = selector(state, 'gistFiles')
- const filenameList = gistFiles && gistFiles.map(({filename}) =>
+ const filenameList = gistFiles && gistFiles.map(({ filename }) =>
filename)
return {
filenameList
diff --git a/app/containers/searchPage/index.js b/app/containers/searchPage/index.js
index 910b89ff..3d5ed335 100644
--- a/app/containers/searchPage/index.js
+++ b/app/containers/searchPage/index.js
@@ -12,7 +12,7 @@ import {
selectGist,
fetchSingleGist,
updateSearchWindowStatus,
- updatescrollRequestStatus} from '../../actions'
+ updatescrollRequestStatus } from '../../actions'
import './index.scss'
diff --git a/app/containers/snippet/index.js b/app/containers/snippet/index.js
index 22402d77..3706246c 100755
--- a/app/containers/snippet/index.js
+++ b/app/containers/snippet/index.js
@@ -165,7 +165,7 @@ class Snippet extends Component {
updateGistsStoreWithUpdatedGist (gistDetails) {
const { gists, activeGist, gistTags, activeGistTag, updateSingleGist,
- updateGistTags, selectGistTag, searchIndex} = this.props
+ updateGistTags, selectGistTag, searchIndex } = this.props
const gistId = gistDetails.id
const files = gistDetails.files
@@ -395,17 +395,17 @@ class Snippet extends Component {
title='Edit'
href='#'
onClick={ this.showGistEditorModal.bind(this) }>
-
+
-
+
-
+
{
this.props.immersiveMode === 'OFF'
@@ -413,7 +413,7 @@ class Snippet extends Component {
title='Delete'
href='#'
onClick={ this.showDeleteModal.bind(this) }>
-
+
: null
}
@@ -432,11 +432,11 @@ class Snippet extends Component {
}
htmlForDescriptionSection.push(
+ newWindow: false }) } }/>
)
htmlForDescriptionSection.push(
diff --git a/app/containers/userPanel/index.js b/app/containers/userPanel/index.js
index 6e84e540..ec82184d 100644
--- a/app/containers/userPanel/index.js
+++ b/app/containers/userPanel/index.js
@@ -171,8 +171,8 @@ class UserPanel extends Component {
description: '',
private: kIsPrivate,
gists: [
- {filename: '', content: ''}
- ]}
+ { filename: '', content: '' }
+ ] }
return (