This linter plugin for Atom-Linter that provides an interface to sqf linter, a linter for the SQF language.
See also language-arma-atom.
- Install Python 3 (it must be >=3!)
- run
pip install sqflint
(e.g. in powershell) - Copy the full path of the
sqflint
script, e.g.
/Users/lordgolias/.virtualenvs/sqflint/bin/sqflint
C:\Program Files (x86)\Python36-32\Scripts\sqflint.exe
(in powershell, you get this with get-command sqflint
).
- Install this package e.g. in the Atom settings. It will ask you to install some dependencies.
- Go to the settings of this package, and put the path above into the
Executable Path
setting (do not change the others). - Create a new file
test.sqf
in atom, fill it withbla]
(i.e. wrong SQF code) and save it. You should see an error message. You are good to go.
Run pip install sqflint --upgrade
to upgrade the linter.