diff options
author | Leandro Alves <leandroalves@yahooinc.com> | 2022-06-20 20:46:09 +0200 |
---|---|---|
committer | Leandro Alves <leandroalves@yahooinc.com> | 2022-06-20 20:46:09 +0200 |
commit | 82f79d8610a18a66746565b0811f550319098f86 (patch) | |
tree | 69d1df33b02de882c862aa4136ee2730cacd8ebc /client | |
parent | ffda18989dfb3485613d5dafcd9026783d7e7f23 (diff) |
Add prettier with a basic config
Diffstat (limited to 'client')
-rw-r--r-- | client/js/app/.prettierrc | 3 | ||||
-rw-r--r-- | client/js/app/package.json | 1 | ||||
-rw-r--r-- | client/js/app/yarn.lock | 5 |
3 files changed, 9 insertions, 0 deletions
diff --git a/client/js/app/.prettierrc b/client/js/app/.prettierrc new file mode 100644 index 00000000000..544138be456 --- /dev/null +++ b/client/js/app/.prettierrc @@ -0,0 +1,3 @@ +{ + "singleQuote": true +} diff --git a/client/js/app/package.json b/client/js/app/package.json index 5a2f37bb97e..2dd28fefb82 100644 --- a/client/js/app/package.json +++ b/client/js/app/package.json @@ -24,6 +24,7 @@ "eslint-plugin-react-perf": "^3", "eslint-plugin-unused-imports": "^2", "husky": "^7", + "prettier": "2", "pretty-quick": "^3", "vite": "^2" } diff --git a/client/js/app/yarn.lock b/client/js/app/yarn.lock index 793fdcd0791..e44aa282616 100644 --- a/client/js/app/yarn.lock +++ b/client/js/app/yarn.lock @@ -1715,6 +1715,11 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" +prettier@2.7.1: + version "2.7.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" + integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== + pretty-quick@^3: version "3.1.3" resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-3.1.3.tgz#15281108c0ddf446675157ca40240099157b638e" |