Update eslint & prettier config

master
Hektor Misplon 2023-12-18 14:06:59 +01:00
parent 0092d0793f
commit 1ccfb2b8fe
Signed by: hektor
GPG Key ID: 5151AF79E723F21C
1 changed files with 6 additions and 2 deletions

View File

@ -3,14 +3,18 @@
* Linting & (Auto)formatting * Linting & (Auto)formatting
*/ */
"coc.preferences.formatOnType": true,
"coc.preferences.formatOnSave": true,
"prettier.configPath": ".prettierrc",
"prettier.ignorePath": ".prettierignore",
"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, "eslint.format.enable": true,
"coc.preferences.formatOnType": true, "eslint.onIgnoredFiles": "warn",
"coc.preferences.formatOnSave": true,
// Markdown // Markdown
"markdownlint.config": { "markdownlint.config": {