Before installing this package, you need asm89/twig-lint
installed and in your $PATH
. Do the following:
-
Install PHP
-
Install Composer
-
Install asm89/twig-lint
composer global require "asm89/twig-lint" "@dev"
IMPORTANT TO INSTALL THE DEV VERSION
From Atom go to Settings ➔ Install or with the command Settings View:Install Packages and Themes
and then search for linter-twig
Or with apm:
apm install linter-twig