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

Improve lint options using trunk.io #1197

Open
juansedo opened this issue Nov 8, 2023 · 0 comments
Open

Improve lint options using trunk.io #1197

juansedo opened this issue Nov 8, 2023 · 0 comments

Comments

@juansedo
Copy link

juansedo commented Nov 8, 2023

About issue

Trunk.io is an interesting tool for handling several linters and use them. It allows to describe with yaml files the linters to use in specific versions. If makes supports this tool, it will be more developer friendly and customizable for linters rules.

In this moment, you must go to makes' source code for knowing about mypy version, prospector version and every linter in builtins. With a yaml solution, the team can adapt even their local environment for warnings from CI linters (errors closer to developers).

Proposal

Implement a command for trunk.io as a new builtin (e.g. m . /lintCode <path_to_file>), reading a well-formatted trunk.io yaml for linting files in a repository.

Links / References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant