eslint-config-tidy-react

0.7.0 • Public • Published

eslint-config-tidy-react Build status for ESLint Config Tidy React

ESLint shareable config for React with Tidy style

Note that this only enables rules related to React. You probably want to compose this with other configs, such as eslint-config-tidy (as shown below), to make your perfect setup.

Why?

  • Consistency.
  • Clarity.
  • Simplicity.

Install

npm install eslint-config-tidy eslint-config-tidy-react eslint-plugin-react --save-dev

Usage

All you have to do is tell your linter to use this config.

Add some XO config to your package.json:

{
    "name": "my-awesome-project",
    "xo": {
        "extend": ["tidy", "tidy-react"]
    }
}

Alternatively, use with ESLint

Add some ESLint config to your package.json:

{
    "name": "my-awesome-project",
    "eslintConfig": {
        "extends": ["tidy", "tidy-react"]
    }
}

Contributing

See our contributing guidelines for more details.

  1. Fork it.
  2. Make a feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

License

MPL-2.0 © Seth Holladay

Go make something, dang it.

Package Sidebar

Install

npm i eslint-config-tidy-react

Weekly Downloads

2

Version

0.7.0

License

MPL-2.0

Unpacked Size

23.4 kB

Total Files

4

Last publish

Collaborators

  • sholladay