1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

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 // using babel-preset-stage-0
const message = do { const message = do {
if (randomNo < 30) { if (randomNo < 30) {
// eslint-disable-next-line no-unused-expressions
'Do not give up. Try again.' 'Do not give up. Try again.'
} else if (randomNo < 60) { } else if (randomNo < 60) {
// eslint-disable-next-line no-unused-expressions
'You are a lucky guy' 'You are a lucky guy'
} else { } else {
// eslint-disable-next-line no-unused-expressions
'You are soooo lucky!' 'You are soooo lucky!'
} }
} }

View file

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

1677
yarn.lock

File diff suppressed because it is too large Load diff