diff --git a/.prettierrc b/.prettierrc index 2a042b30..4013d93b 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,9 +1,3 @@ { - "printWidth": 200, - "tabWidth": 2, - "useTabs": false, - "semi": true, - "singleQuote": true, - "trailingComma": "none", - "proseWrap": "preserve" -} + "extends": "node_modules/playkit-prettier-config/prettier.config" +} \ No newline at end of file diff --git a/package.json b/package.json index 00188743..1613eb46 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ }, "dependencies": { "js-logger": "^1.6.0", + "playkit-prettier-config": "^1.0.0", "ua-parser-js": "^1.0.36" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 823e5408..8fce717e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4590,6 +4590,11 @@ pkg-dir@^7.0.0: dependencies: find-up "^6.3.0" +playkit-prettier-config@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/playkit-prettier-config/-/playkit-prettier-config-1.0.0.tgz#40e9cf5fd682630592c51550090e7c93c016d5c3" + integrity sha512-agFAmiaclryRyvLqQ5Wn5i7u99fsCNP53baYk2U0ALrWSzBN8iuh5ol2pT2pfZV/HG+DocC3RqFehWHTRgEhgw== + postcss-modules-extract-imports@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d"