https://github.com/oieduardorabelo/eslint-fatigue
ESLint configs and Makefile to reduce the amount of boilerplate to set up linters.
https://github.com/oieduardorabelo/eslint-fatigue
Last synced: about 1 month ago
JSON representation
ESLint configs and Makefile to reduce the amount of boilerplate to set up linters.
- Host: GitHub
- URL: https://github.com/oieduardorabelo/eslint-fatigue
- Owner: oieduardorabelo
- Created: 2016-03-13T11:36:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-10T06:57:47.000Z (almost 8 years ago)
- Last Synced: 2025-02-08T12:12:27.776Z (3 months ago)
- Language: Makefile
- Size: 74.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESLint Fatigue
ESLint configs and Makefile to reduce the amount of boilerplate to set up linters.
Based on the idea of [oieduardorabelo/react-fatigue-webpack](https://github.com/oieduardorabelo/react-fatigue-webpack)
## Installation
```
$ npm install -D oieduardorabelo/eslint-fatigue
```## Usage
Add this module as a dev dependency, and add the following to your project's Makefile:
```Makefile
include node_modules/eslint-fatigue/Makefile
```You'll now have the `lint` command available, it will lint all `.js` and `.jsx` files recursively from the current directory.
If you'd to change the linter path, just do a small change:
```Bash
ESLINT_PATH ?= awesome_dir/
include node_modules/eslint-fatigue/Makefile
```## Includes
- babel-eslint
- eslint
- eslint-config-airbnb
- eslint-plugin-react
- eslint-plugin-immutable
- eslint-plugin-react## Running without eslint-fatigue
You can also install all dependencies right in your project:
```
npm install -D babel-eslint eslint eslint-config-airbnb eslint-plugin-immutable eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
```## Links
- [Example project](https://github.com/oieduardorabelo/react-companies-board) using eslint-fatigue
## Badges

---
> [eduardorabelo.me](http://eduardorabelo.me) ·
> GitHub [@oieduardorabelo](https://github.com/oieduardorabelo) ·
> Twitter [@oieduardorabelo](https://twitter.com/oieduardorabelo)