Skip to content

Commit

Permalink
[App Configuration] Use the eslint plugin (#11266)
Browse files Browse the repository at this point in the history
  • Loading branch information
deyaaeldeen authored Sep 15, 2020
1 parent 3127c26 commit 3b9d08b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"plugins": ["@azure/azure-sdk"],
"extends": ["plugin:@azure/azure-sdk/azure-sdk-base"]
}
7 changes: 5 additions & 2 deletions sdk/appconfiguration/app-configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"execute:samples": "npm run build:samples && echo Skipped.",
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"lint:fix": "eslint -c ../../.eslintrc.old.json src test samples --ext .ts --fix",
"lint": "eslint -c ../../.eslintrc.old.json src test --ext .ts -f html -o template-lintReport.html || exit 0",
"lint:fix": "eslint -c ../../../.eslintrc.json src test samples --ext .ts --fix",
"lint": "eslint -c ../../../.eslintrc.json src test --ext .ts -f html -o template-lintReport.html || exit 0",
"prebuild": "npm run clean",
"pack": "npm pack 2>&1",
"swagger": "autorest --typescript swagger/swagger.md",
Expand Down Expand Up @@ -89,6 +89,7 @@
},
"devDependencies": {
"@azure/dev-tool": "^1.0.0",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/identity": "^1.1.0",
"@azure/test-utils-recorder": "^1.0.0",
"@microsoft/api-extractor": "7.7.11",
Expand All @@ -102,6 +103,8 @@
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
"@types/sinon": "^9.0.4",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"assert": "^1.4.1",
"chai": "^4.2.0",
"dotenv": "^8.2.0",
Expand Down

0 comments on commit 3b9d08b

Please sign in to comment.