Skip to content

Commit

Permalink
[Event Hub] Use our ESLint plugin (#11468)
Browse files Browse the repository at this point in the history
  • Loading branch information
deyaaeldeen authored Sep 24, 2020
1 parent 213a83f commit 19ced58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdk/eventhub/event-processor-host/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"plugins": ["@azure/azure-sdk"],
"extends": ["../../.eslintrc.old.json", "plugin:@azure/azure-sdk/recommended"],
"extends": ["plugin:@azure/azure-sdk/recommended"],
"parserOptions": {
"createDefaultProgram": true
}
Expand Down
5 changes: 3 additions & 2 deletions sdk/eventhub/eventhubs-checkpointstore-blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"integration-test:browser": "echo skipped",
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace dist-esm/test/*.spec.js",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint -c ../../.eslintrc.old.json src test --ext .ts --fix",
"lint": "eslint -c ../../.eslintrc.old.json src test --ext .ts -f html -o event-hubs-lintReport.html || exit 0",
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix",
"lint": "eslint package.json api-extractor.json src test --ext .ts -f html -o event-hubs-lintReport.html || exit 0",
"pack": "npm pack 2>&1",
"prebuild": "npm run clean",
"test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
Expand All @@ -66,6 +66,7 @@
"tslib": "^2.0.0"
},
"devDependencies": {
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@microsoft/api-extractor": "7.7.11",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-inject": "^4.0.0",
Expand Down

0 comments on commit 19ced58

Please sign in to comment.