Configure eslint & prettier

master
Hektor Misplon 2020-02-17 16:04:51 +00:00
parent 6399a35aba
commit 2000dcea1c
1 changed files with 34 additions and 3 deletions

View File

@ -1,5 +1,36 @@
{
"coc.preferences.formatOnSaveFiletypes": ["javascript", "typescript", "typescriptreact", "json", "javascriptreact", "typescript.tsx"],
"eslint.filetypes": ["javascript", "typescript", "typescriptreact", "javascriptreact", "typescript.tsx"],
"coc.preferences.diagnostic.virtualText": true,
"coc.preferences.colorSupport": true,
"coc.preferences.formatOnInsertLeave": 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": "?"
}