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:
parent
a0b16e03b8
commit
2a1f8ad387
|
@ -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!'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue