Support for Pyright (Static type checker for Python)
https://github.com/microsoft/pyright Pyright is a fast type checker meant for large Python source bases.
Support for mypy (python type checker)
https://pypi.org/project/mypy/ https://github.com/python/mypy Add type annotations to your Python programs, and use mypy to type check them. Mypy is essentially a Python linter on steroids, and it can catch many programming errors by analyzing your program, without actually having to run it. Mypy has a powerful type system with features such as type inference, gradual typing, generics and union types.
Teach the go runtime to respect go.mod
Users currently have to manually synchronize go.mod with the runtimes.enabled field in trunk.yaml, which can be error-prone (It _is_ possible to define a custom linter that enforces that the two agree with each other, but that's a bit overkill and unnecessary.) Original FR: https://trunkcommunity.slack.com/archives/C02BM66JSL9/p1663111031944509
Support `dotnet format`
https://github.com/dotnet/format It would be great to have support for dotnet format for formatting C# code.
Support for SQLFluff (linter & formatter for SQL and dbt)
"SQLFluff is a dialect-flexible and configurable SQL linter. Designed with ELT applications in mind, SQLFluff also works with Jinja templating and dbt. SQLFluff will auto-fix most linting errors, allowing you to focus your time on what matters." https://github.com/sqlfluff/sqlfluff https://docs.sqlfluff.com/en/stable/ SQLFluff supports the following SQL dialects: ANSI SQL Athena BigQuery ClickHouse Databricks Db2 Exasol Hive MySQL Oracle PostgreSQL (aka Postgres) Redshift Snowflake SOQL SparkSQL SQLite Teradata Transact-SQL (aka T-SQL)
hide linter configs
Trunk has a lot of great built-in configs that we suggest to users. Unfortunately, this still requires users to commit those configs into their repo at the root of the repo. In theory, since trunk controls how linters are invoked, it's possible to push those config files into .trunk or instantiate with defaults. We've had two instances of users asking for this: https://trunkcommunity.slack.com/archives/C0205B2FPE3/p1646949401394559 https://trunkcommunity.slack.com/archives/C0205B2FPE3/p1649711092029619