• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

linter-sqf

Linter for sqf (arma) language.
  • #sqf
  • #arma
  • #lint
  • #linter
LordGolias
2,606
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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.

Installation

  1. Install Python 3 (it must be >=3!)
  2. Download or clone the sqf linter.
  3. Install it in a virtualenv or other in the system (pip install -e . in powershell).
  4. 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.
  3. Create a new file test.sqf in atom, and fill it with bla] (i.e. wrong SQF code). You should see an error message.

Update

The sqflint is often updated in github. When you install it with pip install -e ., you can update the directory you installed it from (e.g. git fetch origin; git reset --hard origin/master). Otherwise, you can just uninstall it (pip uninstall sqflint) and install the new version.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by