Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: lint tree files for indenting #86

Open
PaulRBerg opened this issue Aug 12, 2024 · 0 comments
Open

Feature request: lint tree files for indenting #86

PaulRBerg opened this issue Aug 12, 2024 · 0 comments
Labels
Feat New feature or request

Comments

@PaulRBerg
Copy link
Contributor

This is more like a nitpick, but properly formatted *.tree file should have:

  • Three spaces before beginning of new line and ├──
  • Three spaces before beginning of new line and └──
  • Two spaces in between and ├──
  • Two spaces in between and └──
  • Two spaces in between and

Here's an example of a properly formatted tree:

RefundableAmountOf_Integration_Concrete_Test
├── given null
│  └── it should revert
└── given not null
   ├── given balance zero
   │  └── it should return zero
   └── given balance not zero
      ├── given paused
      │  └── it should return correct refundable amount
      └── given not paused
         ├── when total debt exceeds balance
         │  └── it should return zero
         └── when total debt does not exceed balance
            └── it should return correct refundable amount
@alexfertel alexfertel added the Feat New feature or request label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feat New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants