Lintspec, the NatSpec linter #9966
beeb
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Amazing! @0xKitsune is currently working on Would love to see these NatSpec lint rules implemented there Any feedback on the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
You might know
natspec-smells
, a tool to check your NatSpec comments to make sure you documented all your functions and their parameters, and more.I've used this tool since it came out last year and was never really happy using it. It's extremely slow, especially on big repos, requires to install
node
andnpm
, and throws an error if some imported dependency cannot be found (even it it's installed properly, just because it doesn't resolve remappings correctly).Presenting
lintspec
: https://github.com/beeb/lintspecOften more than 200x faster than
natspec-smells
it's also more customizable and has a few additional features.I invite you to try it out and give feedback! Either here or via the GitHub issues. :)
Note that it can also run in CI via GitHub Actions.
Note: the nix package just got merged so it's not yet available on nixpkgs-unstable, should be up in a few days.
Beta Was this translation helpful? Give feedback.
All reactions