Skip to content

Commit

Permalink
Edit site: Treat edit-site/lib as vendored code (#62573)
Browse files Browse the repository at this point in the history
Disable autoformatting of packages/edit-site/lib directory.

Revert previous autoformatting for packages/edit-site/lib directory.

Add a `linguist-vendored` git attribute to packages/edit-site/lib to
indicate it contains vendored code.

---

Co-authored-by: sirreal <[email protected]>
Co-authored-by: youknowriad <[email protected]>
  • Loading branch information
3 people authored Jun 18, 2024
1 parent 8ae6870 commit 1050efa
Show file tree
Hide file tree
Showing 5 changed files with 4,952 additions and 6,397 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@
*.jpg binary
*.png binary
*.ttf binary

# Directories with vendored code.
packages/edit-site/lib/** linguist-vendored
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ build
build-module
build-types
packages/block-serialization-spec-parser/parser.js
packages/edit-site/lib
packages/react-native-editor/bundle
packages/url/src/test/fixtures
vendor
Loading

0 comments on commit 1050efa

Please sign in to comment.