Config prettier eslint integration
parent
c666fd7b0a
commit
f048c146c5
|
@ -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.formatOnInsertLeave": true,
|
||||
"coc.preferences.formatOnTypeFiletypes": [
|
||||
|
@ -12,13 +27,6 @@
|
|||
"Markdown",
|
||||
"css"
|
||||
],
|
||||
"eslint.filetypes": [
|
||||
"javascript",
|
||||
"typescript",
|
||||
"javascriptreact",
|
||||
"typescriptreact",
|
||||
"typescript.tsx"
|
||||
],
|
||||
"coc.preferences.formatOnSaveFiletypes": [
|
||||
"javascript",
|
||||
"typescript",
|
||||
|
|
Loading…
Reference in New Issue