Skip to content

Commit 2a1f8ad

Browse files
timneutkensrauchg
authored andcommitted
Fix linting errors in standard 9.0 (#1333)
* Fix linting errors in standard 9.0 * Update lockfile
1 parent a0b16e0 commit 2a1f8ad

File tree

3 files changed

+854
-832
lines changed

3 files changed

+854
-832
lines changed

examples/with-custom-babel-config/pages/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ export default class MyLuckNo extends React.Component {
2727
// using babel-preset-stage-0
2828
const message = do {
2929
if (randomNo < 30) {
30+
// eslint-disable-next-line no-unused-expressions
3031
'Do not give up. Try again.'
3132
} else if (randomNo < 60) {
33+
// eslint-disable-next-line no-unused-expressions
3234
'You are a lucky guy'
3335
} else {
36+
// eslint-disable-next-line no-unused-expressions
3437
'You are soooo lucky!'
3538
}
3639
}

server/on-demand-entry-handler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { parse } from 'url'
55
import resolvePath from './resolve'
66
import touch from 'touch'
77

8-
const ADDED = Symbol()
9-
const BUILDING = Symbol()
10-
const BUILT = Symbol()
8+
const ADDED = Symbol('added')
9+
const BUILDING = Symbol('building')
10+
const BUILT = Symbol('built')
1111

1212
export default function onDemandEntryHandler (devMiddleware, compiler, {
1313
dir,

0 commit comments

Comments
 (0)