eight04 / ahk-linter

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

AHK Linter

Linter for AHK (Autohotkey).

Installation

npm install ahk-linter

Usage

const ahkLinter = require("ahk-linter");
ahkLinter.lint(`
MsgBox, Hello World!
`)
  .then(warnings => {
    for (const warn of warnings) {
      console.log(warn.line, warn.col, warn.code, warn.text, warn.severity);
    }
  });

node.line/node.col is used to calculated continuation lines.

Changelog