# eslint: register as language server for Vue.js \(\#10983\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/019821d62c15bae14d010416608effafc4ca7241)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 019821d62c15bae14d010416608effafc4ca7241

Requested commit: 019821d62c15bae14d010416608effafc4ca7241

Commit: 019821d62c15bae14d010416608effafc4ca7241

Tree: 532c2b6ce364094da9f81aa2b1da1935bc0dc218

Author: Thorsten Ball

Committer: GitHub

## Message

```
eslint: register as language server for Vue.js (#10983)

This fixes #9934 and does two things:

1. It registers ESLint as a secondary language server for Vue.js files
(`.vue`)
2. It registers ESLint as a _secondary_ (instead of primary) language
server for TypeScript, JavaScript and TSX.

The second point because I don't see any reason why ESLint should be
registered as a primary language server for these languages. I read
through the code in `project.rs` that uses the primary language server
and I don't think there will be any differences to how it previously
worked.

I also manually tested ESLint support in a Vue.js project, a Next.js
project and a plain old JS project — still works in all three.

Release Notes:

- Added ESLint support for Vue.js files by starting it as a language
server on `.vue` files.
([#9934](https://github.com/zed-industries/zed/issues/9934)).
```

## Parents

- [bb213b6e37da352a2721d8ffb9c9d66c02b1632b](https://git.cafe/gitcafe/zed/commit/bb213b6e37da352a2721d8ffb9c9d66c02b1632b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/019821d62c15bae14d010416608effafc4ca7241?format=markdown)
