Contributing: Setup linter sqf plugin in Atom - Global-Conflicts-ArmA/Olsen-Framework-Arma-3 GitHub Wiki

The linter-sqf plugin is a useful tool to improve the quality of your SQF code and helps to avoid bugs. However, setting it up in Atom has proven to be a bit confusing. This is a guide to help you get it working.

Steps:

  1. Download and install Python 3.x+
  2. Ensure that your Python install directory, root scripts and local scripts directories are on your PATH: Environment variables
  3. Open up command prompt and use pip to install the sqflint package: pip install sqflint
  4. Set your PYTHONPATH environment variable to your local scripts directory: PYTHONPATH
  5. Install the linter-sqf package in Atom and open its settings
  6. Set the "Executable Path" to where pip installed the sqflint.exe file: Settings