Skip to content

Commit 037f4b4

Browse files
authored
auth: Upgrade to shared eng pkg (#2141)
1 parent 370dd95 commit 037f4b4

26 files changed

+1627
-2540
lines changed

auth/.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

auth/.eslintrc.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

auth/.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ test-results.xml
1414
.eslintignore
1515
.eslintrc.js
1616
*.tsbuildinfo
17+
eslint.config.mjs

auth/.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"search.exclude": {
99
"dist": true,
1010
"out": true,
11-
"**/node_modules": true
11+
"**/node_modules": true,
12+
"**/.vscode-test": true,
1213
},
1314
"editor.codeActionsOnSave": {
1415
"source.fixAll.eslint": "explicit"

auth/eslint.config.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
import { azExtEslintStrictTypeChecked, lazyImportAzurePackages } from '@microsoft/vscode-azext-eng/eslint'; // Other configurations exist
7+
import { defineConfig } from 'eslint/config';
8+
9+
export default defineConfig([
10+
azExtEslintStrictTypeChecked,
11+
lazyImportAzurePackages,
12+
]);

0 commit comments

Comments
 (0)