Config prettier eslint integration
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user