1.1.1 • Published 8 years ago
eslint-config-rxgx v1.1.1
:construction_worker: eslint-config-rxgx
A brainless ESLint configuration to automatically apply the rules and formatting based on:
- ESLint/recommended
- Prettier/recommended
- React/recommended (requires
babel-eslint
)
If you do not use Prettier, this config will ruin your life or—at the very least—trigger your teenage angst! For those who never want to have another discussion on code formatting, please continue.
Directions
Install the sharable config:
npm i -D eslint-config-rxgx
Install dependencies
To use the sharable config, the following dev dependencies are required:
npm i -D babel-eslint \ eslint \ eslint-config-prettier \ eslint-plugin-prettier \ eslint-plugin-react \ prettier
Add an ESLint config file,
.eslintrc
:{ "extends": "rxgx" }