Configure eslint & prettier
This commit is contained in:
@@ -1,5 +1,36 @@
|
|||||||
{
|
{
|
||||||
"coc.preferences.formatOnSaveFiletypes": ["javascript", "typescript", "typescriptreact", "json", "javascriptreact", "typescript.tsx"],
|
"coc.preferences.colorSupport": true,
|
||||||
"eslint.filetypes": ["javascript", "typescript", "typescriptreact", "javascriptreact", "typescript.tsx"],
|
"coc.preferences.formatOnInsertLeave": true,
|
||||||
"coc.preferences.diagnostic.virtualText": true,
|
"coc.preferences.formatOnTypeFiletypes": [
|
||||||
|
"javascript",
|
||||||
|
"typescript",
|
||||||
|
"javascriptreact",
|
||||||
|
"typescriptreact",
|
||||||
|
"typescript.tsx",
|
||||||
|
"html",
|
||||||
|
"json",
|
||||||
|
"Markdown",
|
||||||
|
"css"
|
||||||
|
],
|
||||||
|
"eslint.filetypes": [
|
||||||
|
"javascript",
|
||||||
|
"typescript",
|
||||||
|
"javascriptreact",
|
||||||
|
"typescriptreact",
|
||||||
|
"typescript.tsx"
|
||||||
|
],
|
||||||
|
"coc.preferences.formatOnSaveFiletypes": [
|
||||||
|
"javascript",
|
||||||
|
"typescript",
|
||||||
|
"javascriptreact",
|
||||||
|
"typescriptreact",
|
||||||
|
"typescript.tsx",
|
||||||
|
"html",
|
||||||
|
"json",
|
||||||
|
"Markdown",
|
||||||
|
"css"
|
||||||
|
],
|
||||||
|
"diagnostic.errorSign": "x",
|
||||||
|
"diagnostic.warningSign": "!",
|
||||||
|
"diagnostic.infoSign": "?"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user