Skip to content

Latest commit

 

History

History
75 lines (53 loc) · 3.92 KB

README.md

File metadata and controls

75 lines (53 loc) · 3.92 KB

linter-scss-lint

Gitter Plugin installs! Package version! Dependencies!

Gratipay donate button PayPayl donate button BitCoin donate button

This linter plugin for Linter provides an interface to scss-lint. It will be used with files that have the “SCSS” syntax.

Installation

Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions here.

scss-lint installation

Before using this plugin, you must ensure that scss-lint is installed on your system. To install scss-lint, do the following:

  1. Install ruby.

  2. Install scss-lint by typing the following in a terminal:

    gem install scss_lint
    

Now you can proceed to install the linter-scss-lint plugin.

Plugin installationd

$ apm install linter-scss-lint

Settings

You can configure linter-scss-lint by editing ~/.atom/config.cson (choose Open Your Config in Atom menu):

'linter-scss-lint':

  # Optionally specify additional arguments to be passed to `scss-lint`.
  # Run `scss-lint -h` to see available options.
  'additionalArguments': null

  # The `scss-lint` path. Run `which scss-lint` to find this path.
  'executablePath': null

Config file

Linter will start looking for .scss-lint.yml file in the same directory as the file that's being linted. If not found, it will move one level up the directory tree all the way up to the filesystem root.

Contributing

If you would like to contribute enhancements or fixes, please do the following:

  1. Fork the plugin repository.
  2. Hack on a separate topic branch created from the latest master.
  3. Commit and push the topic branch.
  4. Make a pull request.
  5. welcome to the club

Please note that modifications should follow these coding guidelines:

  • Indent is 2 spaces.
  • Code should pass coffeelint linter.
  • Vertical whitespace helps readability, don’t be afraid to use it.

Thank you for helping out!

Donation

Share the love!

Gratipay donate button PayPayl donate button BitCoin donate button