Skip to content

Commit dcef77d

Browse files
authored
Use simpler document selector (#51)
1 parent 3a9625c commit dcef77d

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

LSP-eslint.sublime-settings

+1-26
Original file line numberDiff line numberDiff line change
@@ -125,36 +125,11 @@
125125
]
126126
},
127127
"command": ["${node_bin}", "${server_path}", "--stdio"],
128+
"selector": "source.js | source.ts | source.jsx | source.tsx | source.js.jsx | source.js.react | source.ts.react | text.html.vue | text.html.basic",
128129
"env": {
129130
// Enables ESLint debug mode
130131
// "DEBUG": "eslint:*,-eslint:code-path",
131132
// The value of `NODE_ENV` to use when running eslint tasks.
132133
// "NODE_ENV": "production",
133134
},
134-
"languages": [
135-
{
136-
"languageId": "javascriptreact",
137-
"document_selector": "source.jsx | source.js.jsx | source.js.react",
138-
},
139-
{
140-
"languageId": "javascript",
141-
"document_selector": "source.js",
142-
},
143-
{
144-
"languageId": "typescriptreact",
145-
"document_selector": "source.tsx | source.ts.react",
146-
},
147-
{
148-
"languageId": "typescript",
149-
"document_selector": "source.ts",
150-
},
151-
{
152-
"languageId": "vue",
153-
"document_selector": "text.html.vue",
154-
},
155-
{
156-
"languageId": "html",
157-
"document_selector": "text.html.basic",
158-
},
159-
],
160135
}

0 commit comments

Comments
 (0)