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
|
// 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!'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue