Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meain/tint

Tree-sitter powered linter
https://github.com/meain/tint

linter tree-sitter

Last synced: 13 days ago
JSON representation

Tree-sitter powered linter

Awesome Lists containing this project

README

        

# tint

> **T**ree-sitter powered l**int**er

- **Running**: `tint lint`
- **Config**: Sample file available in `.tint.lint.sample` (default loc is `.tint.lint`)
- **Output format**: `filename:start-line:start-col:end-line:end-col: message`

### Installation

```
go get -u github.com/meain/tint
```

### Example output:

```
config.go:72:4:72:9: do not use "" to check for empty string for 'config'
lint.go:83:7:83:7: do not use trailing comma for args
main.go:122:16:122:16: do not use trailing comma for args
main.go:131:39:131:39: do not use trailing comma for args
```

### Help

```
Usage: tint [flags]

Flags:
-h, --help Show context-sensitive help.
--config=STRING Path to config file

Commands:
lint [ ...] [flags]
Lint files or folders

validate-config [flags]
Validate config file

Run "tint --help" for more information on a command.
```