This package provides Transit's JS linting rules as an extensible shared config.
npm i --save-dev eslint eslint-plugin-import eslint-config-transit
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 .
They can be found in the Transit's javascript style guide.
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.