Skip to content

Commit

Permalink
build: extend prettier settings
Browse files Browse the repository at this point in the history
Running prettier would cause a lot of errors. The ignore settings
are used so that no more errors occur on existing files.

This can be corrected later, by either coming up with override rules
or fixing the issues one-by-one.
  • Loading branch information
marceljay committed Aug 16, 2023
1 parent dd87be7 commit 5fe1fe9
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
27 changes: 27 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Other
docs/
.github/
.vscode/settings.json
README.md

# Contracts
packages/contracts/
packages/contracts/artifacts/
packages/contracts/mainnetDeployment/

# Fuzzer
packages/fuzzer/

# Subgraph
packages/subgraph/
packages/lib-subgraph/

# Frontend
packages/dev-frontend/

# SDK
packages/providers/src/
packages/providers/README.md
packages/lib-ethers/
packages/lib-base/
packages/lib-react/
5 changes: 0 additions & 5 deletions .prettierrc.json

This file was deleted.

8 changes: 8 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
trailingComma: none
arrowParens: avoid
printWidth: 101
# overrides:
# - files: 'someDir/for/example/**/*'
# options:
# singleQuote: true

0 comments on commit 5fe1fe9

Please sign in to comment.