Skip to content

Commit dca5a73

Browse files
authored
bump: eslint to 8.55.0 and eslint-config-fluid to 4.0.0 across the repo (#19836)
The main change that needed to be accounted for was the deprecation of the minimal config, and corresponding file name change from "minimal.js" to "minimal-deprecated.js". Also fixes some violations in a couple of packages that were notably out of date.
1 parent 615a771 commit dca5a73

File tree

378 files changed

+11065
-8474
lines changed

Some content is hidden

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

378 files changed

+11065
-8474
lines changed

azure/packages/azure-local-service/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@
6666
"@arethetypeswrong/cli": "^0.13.3",
6767
"@fluidframework/build-common": "^2.0.3",
6868
"@fluidframework/build-tools": "^0.34.0",
69-
"@fluidframework/eslint-config-fluid": "^3.5.0",
69+
"@fluidframework/eslint-config-fluid": "^4.0.0",
7070
"@microsoft/api-extractor": "^7.39.1",
71-
"eslint": "~8.50.0",
71+
"eslint": "~8.55.0",
7272
"eslint-config-prettier": "~9.0.0",
7373
"pm2": "^5.3.1",
7474
"prettier": "~3.0.3",

azure/packages/azure-service-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@
115115
"@fluidframework/azure-service-utils-previous": "npm:@fluidframework/[email protected]",
116116
"@fluidframework/build-common": "^2.0.3",
117117
"@fluidframework/build-tools": "^0.34.0",
118-
"@fluidframework/eslint-config-fluid": "^3.5.0",
118+
"@fluidframework/eslint-config-fluid": "^4.0.0",
119119
"@microsoft/api-extractor": "^7.39.1",
120120
"@types/jsrsasign": "^10.5.12",
121121
"@types/uuid": "^9.0.2",
122122
"copyfiles": "^2.4.1",
123-
"eslint": "~8.50.0",
123+
"eslint": "~8.55.0",
124124
"eslint-config-prettier": "~9.0.0",
125125
"prettier": "~3.0.3",
126126
"rimraf": "^4.4.0",

azure/packages/test/end-to-end-tests/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@
8282
"devDependencies": {
8383
"@fluidframework/build-common": "^2.0.3",
8484
"@fluidframework/build-tools": "^0.34.0",
85-
"@fluidframework/eslint-config-fluid": "^3.5.0",
85+
"@fluidframework/eslint-config-fluid": "^4.0.0",
8686
"@types/mocha": "^9.1.1",
8787
"@types/nock": "^9.3.0",
8888
"@types/node": "^18.19.0",
8989
"@types/sinon": "^17.0.3",
9090
"@types/uuid": "^9.0.2",
9191
"c8": "^8.0.1",
92-
"eslint": "~8.50.0",
92+
"eslint": "~8.55.0",
9393
"nock": "^13.3.3",
9494
"rimraf": "^4.4.0",
9595
"typescript": "~5.1.6"

azure/packages/test/scenario-runner/.eslintrc.cjs

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
* Licensed under the MIT License.
44
*/
55
module.exports = {
6-
extends: [require.resolve("@fluidframework/eslint-config-fluid/minimal"), "prettier"],
6+
extends: [
7+
require.resolve("@fluidframework/eslint-config-fluid/minimal-deprecated"),
8+
"prettier",
9+
],
710
rules: {
811
"prefer-arrow-callback": "off",
912
"@typescript-eslint/strict-boolean-expressions": "off", // requires strictNullChecks=true in tsconfig

azure/packages/test/scenario-runner/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@
8989
"@fluid-tools/build-cli": "^0.34.0",
9090
"@fluidframework/build-common": "^2.0.3",
9191
"@fluidframework/build-tools": "^0.34.0",
92-
"@fluidframework/eslint-config-fluid": "^3.5.0",
92+
"@fluidframework/eslint-config-fluid": "^4.0.0",
9393
"@types/js-yaml": "^4.0.5",
9494
"@types/mocha": "^9.1.1",
9595
"@types/nock": "^9.3.0",
9696
"@types/node": "^18.19.0",
9797
"@types/sinon": "^17.0.3",
9898
"@types/uuid": "^9.0.2",
9999
"c8": "^8.0.1",
100-
"eslint": "~8.50.0",
100+
"eslint": "~8.55.0",
101101
"nock": "^13.3.3",
102102
"prettier": "~3.0.3",
103103
"rimraf": "^4.4.0",

build-tools/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"copyfiles": "^2.4.1",
8484
"cz-conventional-changelog": "^3.3.0",
8585
"cz-customizable": "^7.0.0",
86-
"eslint": "~8.51.0",
86+
"eslint": "~8.55.0",
8787
"inquirer": "^8.2.5",
8888
"prettier": "~3.0.3",
8989
"rimraf": "^4.4.1",

build-tools/packages/build-cli/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"devDependencies": {
122122
"@fluid-private/readme-command": "workspace:~",
123123
"@fluidframework/build-common": "^2.0.3",
124-
"@fluidframework/eslint-config-fluid": "^3.2.0",
124+
"@fluidframework/eslint-config-fluid": "^4.0.0",
125125
"@microsoft/api-extractor": "^7.39.1",
126126
"@types/async": "^3.2.20",
127127
"@types/chai": "^4.3.5",
@@ -141,7 +141,7 @@
141141
"chai-arrays": "^2.2.0",
142142
"concurrently": "^8.2.1",
143143
"copyfiles": "^2.4.1",
144-
"eslint": "~8.51.0",
144+
"eslint": "~8.55.0",
145145
"eslint-config-oclif": "^5.0.0",
146146
"eslint-config-oclif-typescript": "^3.0.8",
147147
"eslint-config-prettier": "~9.0.0",

build-tools/packages/build-tools/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
},
7070
"devDependencies": {
7171
"@fluidframework/build-common": "^2.0.3",
72-
"@fluidframework/eslint-config-fluid": "^3.2.0",
72+
"@fluidframework/eslint-config-fluid": "^4.0.0",
7373
"@types/async": "^3.2.20",
7474
"@types/fs-extra": "^8.1.2",
7575
"@types/glob": "^7.2.0",
@@ -82,7 +82,7 @@
8282
"@types/semver": "^7.5.0",
8383
"@types/shelljs": "^0.8.12",
8484
"concurrently": "^8.2.1",
85-
"eslint": "~8.51.0",
85+
"eslint": "~8.55.0",
8686
"mocha": "^10.2.0",
8787
"prettier": "~3.0.3"
8888
},

build-tools/packages/bundle-size-tools/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848
},
4949
"devDependencies": {
5050
"@fluidframework/build-common": "^2.0.3",
51-
"@fluidframework/eslint-config-fluid": "^3.2.0",
51+
"@fluidframework/eslint-config-fluid": "^4.0.0",
5252
"@microsoft/api-extractor": "^7.39.1",
5353
"@types/msgpack-lite": "^0.1.8",
5454
"@types/node": "^18.18.6",
5555
"@types/pako": "^2.0.0",
5656
"concurrently": "^8.2.1",
5757
"copyfiles": "^2.4.1",
58-
"eslint": "~8.51.0",
58+
"eslint": "~8.55.0",
5959
"prettier": "~3.0.3",
6060
"rimraf": "^4.4.1"
6161
}

build-tools/packages/readme-command/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"devDependencies": {
5151
"@fluidframework/build-common": "^2.0.3",
52-
"@fluidframework/eslint-config-fluid": "^3.2.0",
52+
"@fluidframework/eslint-config-fluid": "^4.0.0",
5353
"@oclif/test": "~2.3.33",
5454
"@types/chai": "^4.3.5",
5555
"@types/chai-arrays": "^2.0.0",
@@ -58,7 +58,7 @@
5858
"chai": "^4.3.7",
5959
"chai-arrays": "^2.2.0",
6060
"concurrently": "^8.2.1",
61-
"eslint": "~8.51.0",
61+
"eslint": "~8.55.0",
6262
"eslint-config-oclif": "^5.0.0",
6363
"eslint-config-oclif-typescript": "^3.0.8",
6464
"eslint-config-prettier": "~9.0.0",

build-tools/packages/version-tools/.eslintrc.cjs

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
*/
55

66
module.exports = {
7-
extends: [require.resolve("@fluidframework/eslint-config-fluid/minimal"), "prettier"],
7+
extends: [
8+
require.resolve("@fluidframework/eslint-config-fluid/minimal-deprecated"),
9+
"prettier",
10+
],
811
parserOptions: {
912
project: ["./tsconfig.json", "./src/test/tsconfig.json"],
1013
},

build-tools/packages/version-tools/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"devDependencies": {
8989
"@fluid-private/readme-command": "workspace:~",
9090
"@fluidframework/build-common": "^2.0.3",
91-
"@fluidframework/eslint-config-fluid": "^3.2.0",
91+
"@fluidframework/eslint-config-fluid": "^4.0.0",
9292
"@microsoft/api-extractor": "^7.39.1",
9393
"@oclif/test": "~2.3.33",
9494
"@types/chai": "^4.3.5",
@@ -98,7 +98,7 @@
9898
"c8": "^7.14.0",
9999
"chai": "^4.3.7",
100100
"concurrently": "^8.2.1",
101-
"eslint": "~8.51.0",
101+
"eslint": "~8.55.0",
102102
"eslint-config-oclif": "^5.0.0",
103103
"eslint-config-oclif-typescript": "^3.0.8",
104104
"eslint-config-prettier": "~9.0.0",

0 commit comments

Comments
 (0)