Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.25 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.25 KB

Linters

Code Climate

This are our configuration files for scss_lint, Rubocop and ESLint. If you want to work on project's together with ikusei, please take the time to set up your environment to use these configuration files.

If you download them, please make sure, to rename them and put a leading . in their names.

eslintrc.json => .eslintrc.json
rubocop.yml => .rubocop.yml
scss-lint.yml => .scss-lint.yml

Usage in Rails

Add the gem to your Gemfile

   gem "linter"

or for a specific version

  gem 'linter', git: "git@github.com:ikuseiGmbH/linters.git", tag: "rubocop-0.63.0"

Run the rake task

   bundle exec rake linters:install

Each linter has a own installer, so the following works, too:

   bundle exec rake linters:rubocop
   bundle exec rake linters:eslint
   bundle exec rake linters:scss_lint

Versions

If you need a config for a special RuboCop version, we provide different .rubocop.yml versions per Tag: https://github.com/ikuseiGmbH/linters/tags