@@ -21,32 +21,32 @@ export default [
2121 ...compat . extends ( 'plugin:@typescript-eslint/recommended' ) ,
2222 ...compat . extends ( 'airbnb-base/legacy' ) ,
2323 {
24- plugins : {
25- '@typescript-eslint' : typescriptEslint ,
26- } ,
24+ plugins : {
25+ '@typescript-eslint' : typescriptEslint ,
26+ } ,
2727
28- languageOptions : {
28+ languageOptions : {
2929 globals : {
30- ...globals . browser ,
31- ...Object . fromEntries ( Object . entries ( globals . commonjs ) . map ( ( [ key ] ) => [ key , 'off' ] ) ) ,
30+ ...globals . browser ,
31+ ...Object . fromEntries ( Object . entries ( globals . commonjs ) . map ( ( [ key ] ) => [ key , 'off' ] ) ) ,
3232 } ,
3333
3434 parser : tsParser ,
3535 ecmaVersion : 2025 ,
3636 sourceType : 'module' ,
3737
3838 parserOptions : {
39- requireConfigFile : false ,
40- babelOptions : { plugins : [ '@typescript-eslint/eslint-plugin' ] } ,
39+ requireConfigFile : false ,
40+ babelOptions : { plugins : [ '@typescript-eslint/eslint-plugin' ] } ,
4141 } ,
42- } ,
42+ } ,
4343
44- rules : {
44+ rules : {
4545 strict : [ 'error' , 'global' ] ,
4646
4747 quotes : [ 'error' , 'single' , {
48- allowTemplateLiterals : true ,
49- avoidEscape : true ,
48+ allowTemplateLiterals : true ,
49+ avoidEscape : true ,
5050 } ] ,
5151
5252 'no-eval' : 'off' ,
@@ -55,7 +55,7 @@ export default [
5555 'no-plusplus' : 'off' ,
5656
5757 'no-unused-vars' : [ 'error' , {
58- argsIgnorePattern : 'client|msg' ,
58+ argsIgnorePattern : 'client|msg' ,
5959 } ] ,
6060
6161 'no-await-in-loop' : 'off' ,
@@ -95,7 +95,8 @@ export default [
9595 exports : 'always-multiline' ,
9696 functions : 'always-multiline' ,
9797 } ] ,
98+ } ,
99+ } , {
100+ files : [ 'tests/**/*' , '**/*.d.ts' ] ,
98101 } ,
99- } , {
100- files : [ 'tests/**/*' , '**/*.d.ts' ] ,
101- } ] ;
102+ ] ;
0 commit comments