Skip to content

Commit 3f3d124

Browse files
authored
chore: upgrade eslint to v9 (#5535)
1 parent 6afffac commit 3f3d124

File tree

138 files changed

+4910
-2846
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+4910
-2846
lines changed

.eslintignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 86 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,9 @@ module.exports = {
575575
module.exports = {
576576
entry: {
577577
entry: [
578-
'whatwg-fetch',
579-
'core-js/features/promise',
580-
'./entry.js'
578+
"whatwg-fetch",
579+
"core-js/features/promise",
580+
"./entry.js"
581581
],
582582
},
583583
};
@@ -589,13 +589,13 @@ module.exports = {
589589
module.exports = {
590590
entry: {
591591
entry: [
592-
'whatwg-fetch',
593-
'core-js/features/promise',
594-
'./entry.js'
592+
"whatwg-fetch",
593+
"core-js/features/promise",
594+
"./entry.js"
595595
],
596596
},
597597
devServer: {
598-
transportMode: 'sockjs',
598+
transportMode: "sockjs",
599599
},
600600
};
601601
```
@@ -693,15 +693,15 @@ module.exports = {
693693
// static: false
694694
static: [
695695
// Simple example
696-
path.resolve(__dirname, 'static'),
696+
path.resolve(__dirname, "static"),
697697
// Complex example
698698
{
699-
directory: path.resolve(__dirname, 'static'),
699+
directory: path.resolve(__dirname, "static"),
700700
staticOptions: {},
701701
// Don't be confused with `dev.publicPath`, it is `publicPath` for static directory
702702
// Can be:
703703
// publicPath: ['/static-public-path-one/', '/static-public-path-two/'],
704-
publicPath: '/static-public-path/',
704+
publicPath: "/static-public-path/",
705705
// Can be:
706706
// serveIndex: {} (options for the `serveIndex` option you can find https://github.com/expressjs/serve-index)
707707
serveIndex: true,
@@ -721,7 +721,7 @@ module.exports = {
721721
// ...
722722
devServer: {
723723
dev: {
724-
publicPath: '/publicPathForDevServe',
724+
publicPath: "/publicPathForDevServe",
725725
},
726726
},
727727
};
@@ -751,7 +751,7 @@ module.exports = {
751751
// Only warnings and errors
752752
// level: 'none' disable logging
753753
// Please read https://webpack.js.org/configuration/other-options/#infrastructurelogginglevel
754-
level: 'warn',
754+
level: "warn",
755755
},
756756
};
757757
```

0 commit comments

Comments
 (0)