Skip to content

Commit

Permalink
[Test Utils] Use our ESLint plugin (#11469)
Browse files Browse the repository at this point in the history
* [Test Utils] Use our ESLint plugin

* missing file

* Update sdk/test-utils/perfstress/package.json

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
  • Loading branch information
deyaaeldeen and ramya-rao-a authored Sep 25, 2020
1 parent faae66d commit 781e1ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
7 changes: 0 additions & 7 deletions sdk/test-utils/perfstress/.eslintrc.json

This file was deleted.

5 changes: 3 additions & 2 deletions sdk/test-utils/perfstress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"integration-test:browser": "echo skipped",
"integration-test:node": "node dist-esm/test/index.spec.js",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint \"src/**/*.ts\" \"test/**/*.ts\" -c ../../.eslintrc.json --fix --fix-type [problem,suggestion]",
"lint": "eslint -c ../../.eslintrc.json src test --ext .ts -f html -o recorder-lintReport.html || exit 0",
"lint:fix": "eslint package.json src test --ext .ts --fix --fix-type [problem,suggestion]",
"lint": "eslint package.json src test --ext .ts -f html -o perfstress-lintReport.html || exit 0",
"lint:terminal": "eslint package.json src test --ext .ts",
"pack": "npm pack 2>&1",
"prebuild": "npm run clean",
Expand Down Expand Up @@ -71,6 +71,7 @@
"@types/minimist": "~1.2.0"
},
"devDependencies": {
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@types/node": "^8.0.0",
"@types/node-fetch": "^2.5.0",
"@typescript-eslint/eslint-plugin": "^2.0.0",
Expand Down
5 changes: 3 additions & 2 deletions sdk/test-utils/recorder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"integration-test:browser": "karma start --single-run",
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace dist-esm/test/*.spec.js dist-esm/test/node/*.spec.js",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint \"src/**/*.ts\" \"test/**/*.ts\" -c ../../.eslintrc.old.json --fix --fix-type [problem,suggestion]",
"lint": "eslint -c ../../.eslintrc.old.json src test --ext .ts -f html -o recorder-lintReport.html || exit 0",
"lint:fix": "eslint package.json src test --ext .ts --fix --fix-type [problem,suggestion]",
"lint": "eslint package.json src test --ext .ts -f html -o recorder-lintReport.html || exit 0",
"pack": "npm pack 2>&1",
"prebuild": "npm run clean",
"unit-test:browser": "karma start --single-run",
Expand Down Expand Up @@ -67,6 +67,7 @@
"md5": "^2.2.1"
},
"devDependencies": {
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
Expand Down

0 comments on commit 781e1ad

Please sign in to comment.