Skip to content

Commit

Permalink
Merge pull request #21 from DiFuks/fix-peer-deps
Browse files Browse the repository at this point in the history
fix peer deps
  • Loading branch information
DiFuks authored Nov 16, 2024
2 parents 8c2e6f2 + 2b358fb commit 8cda776
Show file tree
Hide file tree
Showing 6 changed files with 595 additions and 396 deletions.
2 changes: 2 additions & 0 deletions .yarn/versions/6d7386a5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
releases:
ts-overrides-plugin: patch
5 changes: 0 additions & 5 deletions packages/plugin/.eslintrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/plugin/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import fuksConfig from 'eslint-config-fuks';

export default [...fuksConfig.base];
4 changes: 2 additions & 2 deletions packages/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
"@types/node": "20.10.4",
"@types/object-hash": "^3",
"eslint": "8.57.0",
"eslint-config-fuks": "^2.0.0",
"eslint-config-fuks": "^3.0.2",
"ts-patch": "3.2.1",
"typescript": "5.5.2"
},
"peerDependencies": {
"ts-patch": "^3.0.0 || ^2.0.0 || ^1.0.0",
"typescript": "^5.5.2 || ^4.0.0 || ^3.0.0"
"typescript": "^5.0.0 || ^4.0.0 || ^3.0.0"
},
"license": "MIT",
"packageManager": "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin/src/ide/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ const getLanguageServiceForFile = (
overrideLanguageServices: ts.LanguageService[],
originalLanguageService: ts.LanguageService,
): ts.LanguageService => {
const overrideForFile = overrideLanguageServices.find(
override => override.getProgram()?.getRootFileNames().includes(fileName),
const overrideForFile = overrideLanguageServices.find(override =>
override.getProgram()?.getRootFileNames().includes(fileName),
);

if (overrideForFile) {
Expand Down
Loading

0 comments on commit 8cda776

Please sign in to comment.