Config prettier eslint integration

master
Hektor Misplon 2020-02-17 16:29:40 +00:00
parent c666fd7b0a
commit f048c146c5
1 changed files with 15 additions and 7 deletions

View File

@ -1,4 +1,19 @@
{ {
"eslint.autoFixOnSave": true,
"eslint.filetypes": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"typescript.tsx"
],
"prettier.eslintIntegration": true,
"prettier.semi": false,
"prettier.tabWidth": 2,
"prettier.singleQuote": true,
"prettier.arrowParens": "avoid",
"coc.preferences.colorSupport": true, "coc.preferences.colorSupport": true,
"coc.preferences.formatOnInsertLeave": true, "coc.preferences.formatOnInsertLeave": true,
"coc.preferences.formatOnTypeFiletypes": [ "coc.preferences.formatOnTypeFiletypes": [
@ -12,13 +27,6 @@
"Markdown", "Markdown",
"css" "css"
], ],
"eslint.filetypes": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"typescript.tsx"
],
"coc.preferences.formatOnSaveFiletypes": [ "coc.preferences.formatOnSaveFiletypes": [
"javascript", "javascript",
"typescript", "typescript",