File tree Expand file tree Collapse file tree 2 files changed +21
-14
lines changed
Expand file tree Collapse file tree 2 files changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ export default {
99 trailingComma : "all" ,
1010 bracketSpacing : true ,
1111 bracketSameLine : false ,
12+ objectWrap : "preserve" ,
1213 arrowParens : "always" ,
1314 endOfLine : "lf" ,
1415 experimentalTernaries : true ,
16+ experimentalOperatorPosition : "start" ,
1517} ;
Original file line number Diff line number Diff line change 11import globals from "globals" ;
22import { config } from "@susisu/eslint-config" ;
33
4- export default config ( { tsconfigRootDir : import . meta . dirname } , [
4+ export default config (
55 {
6- files : [ "src/**/*.ts" ] ,
7- languageOptions : {
8- globals : {
9- ...globals . es2023 ,
6+ tsconfigRootDir : import . meta. dirname ,
7+ } ,
8+ [
9+ {
10+ files : [ "src/**/*.ts" ] ,
11+ languageOptions : {
12+ globals : {
13+ ...globals . es2024 ,
14+ } ,
1015 } ,
1116 } ,
12- } ,
13- {
14- files : [ "*.js" ] ,
15- languageOptions : {
16- globals : {
17- ...globals . es2023 ,
18- ... globals . node ,
17+ {
18+ files : [ "*.js" ] ,
19+ languageOptions : {
20+ globals : {
21+ ... globals . es2024 ,
22+ ...globals . node ,
23+ } ,
1924 } ,
2025 } ,
21- } ,
22- ] ) ;
26+ ] ,
27+ ) ;
You can’t perform that action at this time.
0 commit comments