Update coc eslint & prettier config

master
Hektor Misplon 2023-04-07 22:56:10 +02:00
parent d409ffb704
commit 581bf4cdff
1 changed files with 7 additions and 40 deletions

View File

@ -1,50 +1,17 @@
{ {
"prettier.requireConfig": false, /**
"eslint.probe": [ * Linting & (Auto)formatting
"javascript", */
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown",
"svelte"
],
"eslint.autoFixOnSave": true,
"eslint.format.enable": true,
"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,
"eslint.format.enable": true,
"coc.preferences.formatOnType": true, "coc.preferences.formatOnType": true,
"coc.preferences.formatOnTypeFiletypes": [ "coc.preferences.formatOnSave": true,
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"typescript.tsx",
"html",
"json",
"Markdown",
"css",
"svelte",
"haskell"
],
"coc.preferences.formatOnSaveFiletypes": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"typescript.tsx",
"html",
"json",
"Markdown",
"css",
"svelte",
"haskell"
],
"languageserver": { "languageserver": {
// "racket": { // "racket": {
// "command": "racket", // "command": "racket",