Skip to content

Commit

Permalink
fix(eslint): pin import-x
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Dec 19, 2024
1 parent f1cf224 commit b0c6708
Show file tree
Hide file tree
Showing 4 changed files with 239 additions and 240 deletions.
1 change: 1 addition & 0 deletions cfg/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// specifying these explicitly for better IDE compatibility (but they're on by default with module=nodenext)
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
// "verbatimModuleSyntax": true, // not enabled, since we'll need a lint rule to enforce `import type`
// Faster compilation in general
// Support for external compilers (e.g esbuild)
// Speedup in Jest by using "isolatedModules" in 'ts-jest' config
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@types/node": "^22.0.0",
"@types/yargs": "^16.0.0",
"eslint": "^9.15.0",
"eslint-plugin-import-x": "^4.0.0",
"eslint-plugin-import-x": "4.5.0",
"eslint-plugin-jest": "^28.0.0",
"eslint-plugin-jsdoc": "^50.0.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
Expand Down
4 changes: 2 additions & 2 deletions src/test/cfg/eslint.config.dump.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"0": ".vue",
"1": ".html"
},
"parser": "typescript-eslint/parser@8.17.0",
"parser": "typescript-eslint/parser@8.18.1",
"project": "tsconfig.json"
},
"sourceType": "module"
Expand All @@ -18,7 +18,7 @@
},
"plugins": [
"@",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.17.0",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.18.1",
"unicorn:[email protected]",
"vue:[email protected]",
"import-x",
Expand Down
Loading

0 comments on commit b0c6708

Please sign in to comment.