Fix linting errors in standard 9.0 (#1333)

* Fix linting errors in standard 9.0

* Update lockfile
This commit is contained in:
Tim Neutkens 2017-03-03 01:17:41 +01:00 committed by Guillermo Rauch
parent a0b16e03b8
commit 2a1f8ad387
3 changed files with 854 additions and 832 deletions

View file

@ -27,10 +27,13 @@ export default class MyLuckNo extends React.Component {
// using babel-preset-stage-0
const message = do {
if (randomNo < 30) {
// eslint-disable-next-line no-unused-expressions
'Do not give up. Try again.'
} else if (randomNo < 60) {
// eslint-disable-next-line no-unused-expressions
'You are a lucky guy'
} else {
// eslint-disable-next-line no-unused-expressions
'You are soooo lucky!'
}
}

View file

@ -5,9 +5,9 @@ import { parse } from 'url'
import resolvePath from './resolve'
import touch from 'touch'
const ADDED = Symbol()
const BUILDING = Symbol()
const BUILT = Symbol()
const ADDED = Symbol('added')
const BUILDING = Symbol('building')
const BUILT = Symbol('built')
export default function onDemandEntryHandler (devMiddleware, compiler, {
dir,

1677
yarn.lock

File diff suppressed because it is too large Load diff