Update eslint prettier config

master
Hektor Misplon 2022-09-24 11:29:07 +02:00
parent 8f8a17733f
commit 644169cf5a
1 changed files with 12 additions and 2 deletions

View File

@ -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",