Skip to content

Commit

Permalink
Upgrade ESLint version to 7.15.0 (#12894)
Browse files Browse the repository at this point in the history
All the heavy lifting for upgrading our linting packages has been already done here #12770. This PR upgrades ESLint only and fixes #9050.
  • Loading branch information
deyaaeldeen authored Dec 15, 2020
1 parent 1f6765c commit 6b838b8
Show file tree
Hide file tree
Showing 57 changed files with 349 additions and 429 deletions.
645 changes: 282 additions & 363 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion common/tools/dev-tool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"builtin-modules": "~3.1.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"mocha": "^7.1.1",
"rimraf": "^3.0.0",
"rollup": "^1.16.3",
Expand Down
20 changes: 9 additions & 11 deletions common/tools/eslint-plugin-azure-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
"unit-test:node": "mocha --require source-map-support/register --timeout 10000 --full-trace --recursive dist/tests",
"unit-test:browser": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"test": "npm run clean && npm run build:test && npm run unit-test",
"build:samples": "echo Skipped."
"test": "npm run clean && npm run build:test && npm run unit-test"
},
"engines": {
"node": ">=8.0.0"
Expand All @@ -61,35 +60,34 @@
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"eslint": ">=6.0.0",
"eslint-plugin-no-only-tests": "^2.0.0",
"eslint-plugin-promise": "^4.0.0"
"eslint": "^7.15.0",
"eslint-plugin-no-only-tests": "^2.4.0",
"eslint-plugin-promise": "^4.2.1"
},
"dependencies": {
"@typescript-eslint/typescript-estree": "^4.9.0",
"@types/eslint": "^7.2.6",
"@types/estree": "^0.0.45",
"eslint-config-prettier": "^6.0.0",
"eslint-config-prettier": "^7.0.0",
"glob": "^7.1.2",
"typescript": "4.1.2",
"tslib": "^2.0.0"
},
"devDependencies": {
"@types/bluebird": "^3.5.27",
"@types/chai": "^4.1.6",
"@types/eslint": "^6.1.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/experimental-utils": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"bluebird": "^3.5.5",
"chai": "^4.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"mocha": "^7.1.1",
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
"source-map-support": "^0.5.9",
"mocha-junit-reporter": "^1.18.0"
"mocha-junit-reporter": "^1.18.0",
"typescript": "4.1.2"
}
}
2 changes: 1 addition & 1 deletion sdk/anomalydetector/ai-anomaly-detector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"cross-env": "^7.0.2",
"csv-parse": "^4.4.0",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/appconfiguration/app-configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"assert": "^1.4.1",
"chai": "^4.2.0",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"esm": "^3.2.18",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"chai-as-promised": "^7.1.1",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-sms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"assert": "^1.4.1",
"cross-env": "^7.0.2",
"delay": "^4.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-amqp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"debug": "^4.1.1",
"dotenv": "^8.2.0",
"downlevel-dts": "~0.4.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
"karma-mocha": "^2.0.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-asynciterator-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"devDependencies": {
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@types/node": "^8.0.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"prettier": "^1.16.4",
"typescript": "4.1.2"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"assert": "^1.4.1",
"cross-env": "^7.0.2",
"downlevel-dts": "~0.4.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"mocha": "^7.1.1",
"mocha-junit-reporter": "^1.18.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"chai": "^4.2.0",
"downlevel-dts": "~0.4.0",
"cross-env": "^7.0.2",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"downlevel-dts": "~0.4.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"express": "^4.16.3",
"fetch-mock": "^9.10.1",
"glob": "^7.1.2",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-https/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"chai": "^4.2.0",
"downlevel-dts": "~0.4.0",
"cross-env": "^7.0.2",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-lro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"@types/node": "^8.0.0",
"assert": "^1.4.1",
"chai": "^4.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-paging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"devDependencies": {
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@types/node": "^8.0.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
"typescript": "4.1.2"
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@types/node": "^8.0.0",
"assert": "^1.4.1",
"cross-env": "^7.0.2",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"mocha": "^7.1.1",
"mocha-junit-reporter": "^1.18.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-xml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"chai": "^4.2.0",
"downlevel-dts": "~0.4.0",
"cross-env": "^7.0.2",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"cross-env": "^7.0.2",
"delay": "^4.2.0",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmosdb/cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"downlevel-dts": "~0.4.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"esm": "^3.2.18",
"execa": "^3.3.0",
"mocha": "^7.1.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/digitaltwins/digital-twins-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventgrid/eventgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/event-hubs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"debug": "^4.1.1",
"dotenv": "^8.2.0",
"downlevel-dts": "~0.4.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"esm": "^3.2.18",
"https-proxy-agent": "^5.0.0",
"karma": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/event-processor-host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"chai-string": "^1.5.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"esm": "^3.2.18",
"https-proxy-agent": "^5.0.0",
"mocha": "^7.1.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/eventhubs-checkpointstore-blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"cross-env": "^7.0.2",
"debug": "^4.1.1",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"esm": "^3.2.18",
"guid-typescript": "^1.0.9",
"inherits": "^2.0.3",
Expand Down
3 changes: 3 additions & 0 deletions sdk/eventhub/testhub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@
"typescript": "4.1.2",
"uuid": "^8.3.0",
"yargs": "^15.0.0"
},
"devDependencies": {
"eslint": "^7.15.0"
}
}
2 changes: 1 addition & 1 deletion sdk/formrecognizer/ai-form-recognizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"@types/uuid": "^8.0.0",
"assert": "^1.4.1",
"cross-env": "^7.0.2",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"express": "^4.16.3",
"inherits": "^2.0.3",
"karma": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"esm": "^3.2.18",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-certificates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"esm": "^3.2.18",
"fs-extra": "^8.1.0",
"karma": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
"devDependencies": {
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
"typescript": "4.1.2"
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-keys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"esm": "^3.2.18",
"fs-extra": "^8.1.0",
"karma": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-secrets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"esm": "^3.2.18",
"fs-extra": "^8.1.0",
"karma": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/metricsadvisor/ai-metrics-advisor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@microsoft/api-extractor": "7.7.11",
"@types/mocha": "^7.0.2",
"@types/node": "^10.0.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"eslint-plugin-node": "^11.1.0",
"execa": "^3.3.0",
"mocha": "^7.1.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/schemaregistry/schema-registry-avro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/schemaregistry/schema-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
"karma-coverage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/search/search-documents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.1.0",
"eslint": "^7.15.0",
"inherits": "^2.0.3",
"karma": "^5.1.0",
"karma-chrome-launcher": "^3.0.0",
Expand Down
Loading

0 comments on commit 6b838b8

Please sign in to comment.