File tree Expand file tree Collapse file tree 3 files changed +257
-3
lines changed Expand file tree Collapse file tree 3 files changed +257
-3
lines changed Original file line number Diff line number Diff line change 8888 "node/shebang" : " off" ,
8989 "node/no-deprecated-api" : " warn" ,
9090 "no-useless-constructor" : " warn" ,
91- "no-return-await" : " off"
91+ "no-return-await" : " off" ,
92+ "import/extensions" : [" error" , " never" , { "json" : " always" }]
9293 },
9394
9495 "overrides" : [
125126 ]
126127 }
127128 }
128- ]
129+ ],
130+
131+ "settings" : {
132+ "import/resolver" : {
133+ "typescript" : {
134+ "alwaysTryTypes" : true ,
135+ "project" : [" tsconfig.json" ]
136+ },
137+ "node" : {
138+ "extensions" : [" .js" , " .ts" , " .json" ]
139+ }
140+ }
141+ }
129142}
Original file line number Diff line number Diff line change 3030 "chai" : " ^4.4.1" ,
3131 "eslint" : " ^8.57.0" ,
3232 "eslint-config-airbnb-base" : " ^15.0.0" ,
33+ "eslint-import-resolver-typescript" : " ^4.4.4" ,
3334 "eslint-plugin-chai-friendly" : " ^1.0.0" ,
3435 "eslint-plugin-import" : " ^2.29.1" ,
3536 "eslint-plugin-jsx-a11y" : " ^6.9.0" ,
You can’t perform that action at this time.
0 commit comments