Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

srijan-paul/onelint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneLint

NOTE: OneLint has moved to DeepSourceCorp/globstar. This was a week-ish long project I did at work. This repo will no longer be maintained.

A lightweight, extensible linter for all programming languages powered by tree-sitter.

All languages are equal

But some more than others. For syntax-based rules that only require an AST, all languages are equally supported in the API.

For a deeper understanding of source code, OneLint has a LanguageServices features that extends the capabilities of the linter for specific languages. This can be used for import resolution, preparing call graphs, and scope analysis.

As an example:

filePath := pyServices.FilePathOfImport(import_node)

About

One linter, all languages. Simple, fast, extensible.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages