File tree Expand file tree Collapse file tree 4 files changed +729
-899
lines changed
Expand file tree Collapse file tree 4 files changed +729
-899
lines changed Original file line number Diff line number Diff line change 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 : / C o p y r i g h t .* M i c r o s o f t / ,
21+ template : ' Copyright (c) Microsoft Corporation. All rights reserved.' ,
22+ } ,
23+ {
24+ pattern : / L I C E N S E / i,
25+ template : ' Licensed under the MIT License.' ,
26+ } ,
27+ ] ,
28+ } ,
29+ trailingEmptyLines : {
30+ minimum : 2 ,
31+ } ,
32+ } ,
33+ ] ,
34+ } ,
35+ }
36+ ] ) ;
You can’t perform that action at this time.
0 commit comments