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

linter-slim

Lint Slim on the fly
AtomLinter
2.0.0 8,586
40
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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:

  1. Install ruby.

  2. Install slim by typing the following in a terminal:

    gem install slim
    

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

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