File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
packages/b2c-vs-extension Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import {includeIgnoreFile} from '@eslint/compat';
77import headerPlugin from 'eslint-plugin-header' ;
88import path from 'node:path' ;
99import { fileURLToPath } from 'node:url' ;
10- import typescriptEslint from 'typescript-eslint' ;
10+ import tseslint from 'typescript-eslint' ;
1111
1212import { copyrightHeader , sharedRules , prettierPlugin } from '../../eslint.config.mjs' ;
1313
@@ -16,17 +16,16 @@ headerPlugin.rules.header.meta.schema = false;
1616
1717export default [
1818 includeIgnoreFile ( gitignorePath ) ,
19- ...typescriptEslint . config ( {
20- files : [ '**/*.ts' ] ,
21- languageOptions : {
22- parserOptions : { ecmaVersion : 2022 , sourceType : 'module' } ,
23- } ,
24- } ) ,
19+ ...tseslint . configs . recommended ,
2520 prettierPlugin ,
2621 {
22+ files : [ '**/*.ts' ] ,
2723 plugins : {
2824 header : headerPlugin ,
2925 } ,
26+ languageOptions : {
27+ parserOptions : { ecmaVersion : 2022 , sourceType : 'module' } ,
28+ } ,
3029 rules : {
3130 'header/header' : [ 'error' , 'block' , copyrightHeader ] ,
3231 ...sharedRules ,
You can’t perform that action at this time.
0 commit comments