-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: add linting #5
Conversation
dabeeeenster
commented
Nov 27, 2023
•
edited
Loading
edited
- Adds pre-commit config
- Runs pre-commit checks as a Github Action
This brings in competing |
Ah - I missed the linting in the app folder. What do you think @matthewelwell ? We're trying to standardise on pre-commit I feel? |
Can anyone dumb this down for me so I don't have to understand the structure of the project? What's the issue and what are the options? @dabeeeenster @riceyrice |
The app is JS/TS. Should we use native JS/TS provided linters/checkers or use pre-commit which needs python to bootstrap AFAIUI |
@matthewelwell the root of the repo contains/installs a Node 20 app (the Forge CLI). The It's OK to install linting/formatting tools in the root if you need to make this work with pre-commit - or maybe pre-commit can be made to work with the linting/formatting tools already installed in the |
This makes the most sense to me. |
OK that should be in line with what we want now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this have been removed as per discussion in the main PR thread?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its needed in both locations for both to work AFAICT
@dabeeeenster not sure what the status of this one is but it seems ok to me, shall we merge? |