➕ chore(deps-dev): add prettier to dependencies

this add the following dependencies:
- prettier
- eslint-config-prettier
- eslint-plugin-prettier
This commit is contained in:
2024-01-20 11:23:06 +01:00
parent e22a30433e
commit 51070914e7
7 changed files with 200 additions and 2 deletions
+73
View File
@@ -0,0 +1,73 @@
{
// files
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.exclude": {
"**/*.pyc": true,
"**/.git": false
},
// Prittier & editor
"prettier.printWidth": 150,
"editor.suggestSelection": "first",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"formattingToggle.affects": [
"formatOnPaste",
"formatOnSave",
"formatOnType"
],
"editor.detectIndentation": true,
"editor.insertSpaces": true,
"editor.fontSize": 15,
"editor.tabSize": 2,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment"
],
"settings": {
"fontStyle": "italic"
}
}
]
},
// git
"git.autofetch": true,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"git-graph.dialog.rebase.ignoreDate": false,
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.wordWrap": "off",
// Javascript
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"typescript.suggest.paths": true,
// json
"[json,jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
// todos
"todo-tree.general.tags": [
"BUG",
"HACK",
"FIXME",
"TODO",
"XXX",
"[ ]",
"[x]"
],
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"todo-tree.excludeGlobs": [
"**/node_modules"
],
"jest.jestCommandLine": "npm run test --",
"jest.autoRun": "off"
}