Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/meain/tint
- Owner: meain
- Created: 2024-03-26T06:08:18.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-03-31T14:28:29.000Z (8 months ago)
- Last Synced: 2024-10-10T23:23:40.833Z (about 1 month ago)
- Topics: linter, tree-sitter
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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 fileCommands:
lint [ ...] [flags]
Lint files or foldersvalidate-config [flags]
Validate config fileRun "tint --help" for more information on a command.
```