Skip to content

nim-dev/nimlint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lint

nimlint makes developing softer.

Ref timotheecour/Nim#415

lint items

  • code block => runnableExamples
  • proc + noSideEffect => func
  • assert in a test file => doAssert
  • isMainModule in stdlib => recommend moving to tests/stdlib/tfoo.nim
  • double backticks => single backticks
  • the first char should be upper

TODO

  • Better messages with filename, line and col number
  • Github APP integration ➡️ https://github.com/juancarlospaco/nimlint-action
  • Fix them
  • Syntax to ignore lint recommendations, analog to #!nimpretty off (maybe via a pragma or special #!nimlint:off syntax)

About

nimlint makes developing softer.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages