eight04 / ahk-linter

A linter for AHK (Autohotkey).
MIT License
4 stars 0 forks source link

Documentation questions #1

Open BlueDrink9 opened 4 years ago

BlueDrink9 commented 4 years ago

Can this be used with a file? How might it be used from a script or command line?

What things does this linter check for? Does it just note AHK warnings?

eight04 commented 4 years ago

This project is still in an alpha stage. The parser doesn't parse class syntax yet (https://travis-ci.com/eight04/ahk-linter/builds/114104071)

If you don't use class syntax, you can try to install this repo as a global package:

 npm install -g eight04/ahk-linter

Then run ahklint -h to get the help screen.

Currently, there are only three errors:

  1. syntax-error
  2. no-legacy-assign
  3. empty-file