File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,11 @@ export default tseslint.config(
7474 '@stylistic' : stylePlugin ,
7575 } ,
7676 rules : {
77+ 'import/first' : 'warn' ,
78+ 'import/newline-after-import' : 'warn' ,
79+ 'import/no-cycle' : 'error' ,
7780 'import/no-duplicates' : [ 'warn' , { 'prefer-inline' : false } ] ,
81+ 'import/no-useless-path-segments' : 'error' ,
7882 'import/order' : [
7983 'warn' ,
8084 {
@@ -252,7 +256,7 @@ export default tseslint.config(
252256 name : 'Specifically for buildtools' ,
253257 files : [ 'lib/buildtools/**/*.ts' ] ,
254258 rules : {
255- 'import/extensions' : 'off'
259+ 'import/extensions' : [ 'error' , 'ignorePackages' ]
256260 }
257261 } ,
258262) ;
Original file line number Diff line number Diff line change 1616 "module" : " esnext" ,
1717 /* Specify the module resolution strategy: 'node' (Node.js) or 'classic' (used in TypeScript before the release of 1.6). */
1818 "moduleResolution" : " bundler" ,
19+ "skipLibCheck" : true ,
1920
2021 /* Allows importing modules with a ‘.json’ extension, which is a common practice in node projects. */
2122 "resolveJsonModule" : true ,
You can’t perform that action at this time.
0 commit comments