Coder Social home page Coder Social logo

lint-config's Introduction

lint-config

Configuration files for the source-code checking tools used on Bauer Xcel Media USA apps.:

To add these files to your repo in folder config/lint at your root:

git submodule add [email protected]:bauerpub/lint-config.git config/lint

To run lint tools locally

Rubocop

Hound uses version 0.29.1 of Rubocop.

Install that version locally with gem install rubocop -v 0.29.1.

To use Rubocop to check file.rb: $ rubocop file.rb --config config/lint/.ruby-style.yml

CoffeeLint

Hound uses version 0.3.0 of coffeelint.

Install that version of CoffeeLint locally with gem install coffeelint -v 0.3.0.

To use CoffeeLint to check file.coffee: $ coffeelint -f config/lint/.coffeescript-style.json file.coffee

JSHint

Hound uses version 0.3.0 of JSHint RB

Install that version of JSHint locally with gem install jshintrb -v 0.3.0

To use JSHint to check file.js: $ jshint --config config/lint/.javascript-style.json file.js

SCSS-Lint

Hound uses version 0.34.0 of scss-lint.

Install that version of SCSS-Lint locally with gem install scss-lint -v 0.34.0.

To use SCSS-Lint to check file.scss: $ scss-lint --config config/lint/.scss-style.yml file.scss

Using these config files with Hound

To configure Hound's behavior on a repository, you can add the following .hound.yml file at the app root:

ruby:
  config_file: config/lint/.ruby-style.yml
scss:
  config_file: config/lint/.scss-style.yml
coffeescript:
  config_file: config/lint/.coffeescript-style.json
javascript:
  config_file: config/lint/.javascript-style.json

lint-config's People

Contributors

tikaro avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.