eslint-config-transit
v1.5.2
Published
Transit's ESLint config
Downloads
78
Readme
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.