From 39a7ca120b70bf0faf422be5836bd72d6341e5eb Mon Sep 17 00:00:00 2001 From: thinktwice13 Date: Thu, 6 Dec 2018 15:03:54 +0100 Subject: [PATCH] Configure prettier Update vscode workspace settings --- .prettierrc | 6 ++++++ .vscode/settings.json | 12 +++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..9d9d16ed --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "printWidth": 100, + "singleQuote": true, + "jsxSingleQuote": true, + "trailingComma": "all" +} diff --git a/.vscode/settings.json b/.vscode/settings.json index ff30c446..b04e9383 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,13 @@ { - "editor.tabSize": 2 + "editor.tabSize": 2, + "editor.formatOnSave": false, + "javascript.format.enable": false, + "eslint.autoFixOnSave": true, + "prettier.eslintIntegration": true, + "prettier.disableLanguages": ["js", "jsx"], + "workbench.colorCustomizations": { + "titleBar.activeForeground": "#000", + "titleBar.inactiveForeground": "#000000CC", + "titleBar.activeBackground": "#FFC600","titleBar.inactiveBackground": "#FFC600CC" + }, } \ No newline at end of file