Update eslint prettier config
parent
8f8a17733f
commit
644169cf5a
|
@ -1,13 +1,23 @@
|
||||||
{
|
{
|
||||||
"prettier.requireConfig":true,
|
"prettier.requireConfig": false,
|
||||||
|
"eslint.probe": [
|
||||||
|
"javascript",
|
||||||
|
"javascriptreact",
|
||||||
|
"typescript",
|
||||||
|
"typescriptreact",
|
||||||
|
"html",
|
||||||
|
"vue",
|
||||||
|
"markdown",
|
||||||
|
"svelte"
|
||||||
|
],
|
||||||
"eslint.autoFixOnSave": true,
|
"eslint.autoFixOnSave": true,
|
||||||
|
"eslint.format.enable": true,
|
||||||
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact", "typescript.tsx", "svelte"],
|
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact", "typescript.tsx", "svelte"],
|
||||||
"prettier.semi": false,
|
"prettier.semi": false,
|
||||||
"prettier.tabWidth": 2,
|
"prettier.tabWidth": 2,
|
||||||
"prettier.singleQuote": true,
|
"prettier.singleQuote": true,
|
||||||
"prettier.arrowParens": "avoid",
|
"prettier.arrowParens": "avoid",
|
||||||
"prettier.printWidth": 120,
|
"prettier.printWidth": 120,
|
||||||
"prettier.disableSuccessMessage": true,
|
|
||||||
"coc.preferences.formatOnType": true,
|
"coc.preferences.formatOnType": true,
|
||||||
"coc.preferences.formatOnTypeFiletypes": [
|
"coc.preferences.formatOnTypeFiletypes": [
|
||||||
"javascript",
|
"javascript",
|
||||||
|
|
Loading…
Reference in New Issue