eslint-config-transit

1.5.2 • Public • Published

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.

Package Sidebar

Install

npm i eslint-config-transit

Weekly Downloads

14

Version

1.5.2

License

MIT

Unpacked Size

4.51 kB

Total Files

6

Last publish

Collaborators

  • gcamp
  • transit