This package provides the following services:
linter-slim
This linter plugin for Linter provides an interface to slim. It will be used with files that have the “Ruby Slim” syntax.
Installation
Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions here.
slim installation
Before using this plugin, you must ensure that slimrb
is installed on your system. To install slimrb
, do the following:
Now you can proceed to install the linter-slim plugin.
Plugin installation
$ apm install linter-slim
Settings
Settings can be configured from Atom's settings page in the packages section.
Available settings are:
- Slimrb Executable Path: The full path to
slimrb
, for example/usr/bin/slimrb
. Leave at the default to use the system$PATH
to find it - Rails: Whether or not to generate Rails compatible code
- Library: Comma separated list of libraries or plugins to load when linting
Run which slimrb
to find the path,
if you using rbenv run rbenv which slimrb