Fixed ESLint errors and warning that could be fixed with eslint --fix
This commit is contained in:
@ -32,8 +32,8 @@ export default class AuthenticationPage extends React.Component {
|
|||||||
}
|
}
|
||||||
response.json().then((data) => {
|
response.json().then((data) => {
|
||||||
this.setState({ loginError: data.msg });
|
this.setState({ loginError: data.msg });
|
||||||
})
|
});
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
handleChange(key) {
|
handleChange(key) {
|
||||||
|
@ -2,7 +2,7 @@ import React from 'react';
|
|||||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { Card } from './UI';
|
import { Card } from './UI';
|
||||||
import { Link } from 'react-router'
|
import { Link } from 'react-router';
|
||||||
import { statusDescriptions } from '../constants/publishModes';
|
import { statusDescriptions } from '../constants/publishModes';
|
||||||
import styles from './UnpublishedListing.css';
|
import styles from './UnpublishedListing.css';
|
||||||
|
|
||||||
|
@ -62,4 +62,4 @@ export const SCHEMA = {
|
|||||||
borderRadius: '4px'
|
borderRadius: '4px'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
@ -39,4 +39,4 @@ storiesOf('Card', module)
|
|||||||
<p>header and footer elements are also not subject to margin</p>
|
<p>header and footer elements are also not subject to margin</p>
|
||||||
<footer style={styles.footer}>© Thousand Cats Corp</footer>
|
<footer style={styles.footer}>© Thousand Cats Corp</footer>
|
||||||
</Card>
|
</Card>
|
||||||
))
|
));
|
||||||
|
@ -13,7 +13,7 @@ module.exports = {
|
|||||||
{ test: /\.json$/, loader: 'json-loader' },
|
{ test: /\.json$/, loader: 'json-loader' },
|
||||||
{
|
{
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
loader: ExtractTextPlugin.extract("style", "css?modules&importLoaders=1&&localIdentName=cms__[name]__[local]!postcss"),
|
loader: ExtractTextPlugin.extract('style', 'css?modules&importLoaders=1&&localIdentName=cms__[name]__[local]!postcss'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
loader: 'babel',
|
loader: 'babel',
|
||||||
|
Reference in New Issue
Block a user