Skip to content

LordGolias/linter-sqf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

linter-sqf

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

  1. Install Python 3 (it must be >=3!)
  2. run pip install sqflint (e.g. in powershell)
  3. 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).

  1. Install this package e.g. in the Atom settings. It will ask you to install some dependencies.
  2. Go to the settings of this package, and put the path above into the Executable Path setting (do not change the others).
  3. Create a new file test.sqf in atom, fill it with bla] (i.e. wrong SQF code) and save it. You should see an error message. You are good to go.

Update

Run pip install sqflint --upgrade to upgrade the linter.