Skip to content

Commit

Permalink
docs: mention @volar-plugins/eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Jan 5, 2023
1 parent 6ae8871 commit 60a544c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,4 @@ A workaround is to create a separate `tsconfig.eslint.json` as follows:
## Further Improvements

- Support [ESLint Flag Config](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new).
- It seems possible to lift the TSX/JSX restriction in `.vue` files without disabling the type-aware linting rules.
[`@typescript-eslint/parser` allows passing `program` instance](https://github.com/typescript-eslint/typescript-eslint/tree/v5.30.7/packages/parser#parseroptionsprograms) to override any programs that would have been computed from `parserOptions.project`.
If we provide a `program` created by [Volar](https://github.com/johnsoncodehk/volar), maybe it can have better support for `.vue` files?
I haven't yet got the time to try it out.
- Keep an eye on [`@volar-plugins/eslint`](https://github.com/johnsoncodehk/volar/discussions/2204) for potentially better TypeScript integrations.

0 comments on commit 60a544c

Please sign in to comment.