eslint-config-tidy-react
v0.8.0
Published
ESLint shareable config for React with Tidy style
Downloads
11
Maintainers
Readme
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-devUsage
All you have to do is tell your linter to use this config.
Use with XO (recommended)
Add an xo.config.js file to your project:
import tidy from 'eslint-config-tidy';
import tidyReact from 'eslint-config-tidy-react';
export default [
...tidy,
...tidyReact
];Alternatively, use with ESLint
Add an eslint.config.js file to your project:
import tidy from 'eslint-config-tidy';
import tidyReact from 'eslint-config-tidy-react';
export default [
...tidy,
...tidyReact
];Related
- eslint-config-tidy - ESLint shareable config for Tidy style
- XO - Linter based on ESLint
Contributing
See our contributing guidelines for more details.
- Fork it.
- Make a feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request.
License
Go make something, dang it.
