Skip to content

Commit

Permalink
use one prettier file
Browse files Browse the repository at this point in the history
  • Loading branch information
sashankaryal committed Dec 13, 2022
1 parent 2938758 commit ce9c90d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*.html
voxel51-website.js
**/__generated__
dist
**/dist
10 changes: 6 additions & 4 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/**
* This is a prettier config at the root of the monorepo,
* there's yet another prettier config inside `app` directory that extends this config for the webapp.
*/
module.exports = {
trailingComma: "es5",
tabWidth: 2,
semi: true,
useTabs: false,
singleQuote: false,
printWidth: 80,
overrides: [
{
files: "*.md",
Expand Down
4 changes: 0 additions & 4 deletions app/.prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions app/.prettierrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dev": "yarn workspace @fiftyone/app dev",
"dev:py": "python ../fiftyone/server/main.py",
"dev:wpy": "concurrently -k yarn:dev yarn:dev:py",
"lint:prettify": "prettier --write \"packages/**/*.(ts|js|jsx|tsx|json|css|scss)\"",
"lint:prettify": "prettier --config ../.prettierrc.js --ignore-path ../.prettierignore --write \"packages/**/*.(ts|js|jsx|tsx|json|css|scss)\"",
"postinstall": "patch-package",
"start": "yarn workspace @fiftyone/app start",
"start-desktop": "yarn workspace FiftyOne start-desktop",
Expand Down

0 comments on commit ce9c90d

Please sign in to comment.