Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

eslint-config-transit

This package provides Transit's JS linting rules as an extensible shared config.

Installation

npm i --save-dev eslint eslint-plugin-import eslint-config-transit

Usage

To get started, extend Transit's config in your linter configuration.

{
  "extends": "transit"
}

From this point, you should be able to start linting your code:

./node_modules/.bin/eslint .

The rules

They can be found in the Transit's javascript style guide.

Contributing

If you wish to add a rule, please pull request away and make sure to write a test case that's testing your new linting rule.