Skip to content

Commit 3802b0d

Browse files
authored
Fix telemetry bundling issues (#6698)
* Update packages to fix telemetry issue * Fix lint config and lint error
1 parent 02b30a7 commit 3802b0d

File tree

4 files changed

+729
-899
lines changed

4 files changed

+729
-899
lines changed

ext/vscode/eslint.config.mjs

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,34 @@
33
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
export { azExtEslintRecommendedTypeChecked as default } from '@microsoft/vscode-azext-eng/eslint'; // Other configurations exist
6+
import { azExtEslintRecommendedTypeChecked } from '@microsoft/vscode-azext-eng/eslint'; // Other configurations exist
7+
import { defineConfig } from 'eslint/config';
8+
9+
export default defineConfig([
10+
azExtEslintRecommendedTypeChecked,
11+
{
12+
rules: {
13+
'header/header': [
14+
'error',
15+
{
16+
header: {
17+
commentType: 'line',
18+
lines: [
19+
{
20+
pattern: /Copyright.*Microsoft/,
21+
template: ' Copyright (c) Microsoft Corporation. All rights reserved.',
22+
},
23+
{
24+
pattern: /LICENSE/i,
25+
template: ' Licensed under the MIT License.',
26+
},
27+
],
28+
},
29+
trailingEmptyLines: {
30+
minimum: 2,
31+
},
32+
},
33+
],
34+
},
35+
}
36+
]);

0 commit comments

Comments
 (0)