4.2.0 • Published 5 years ago
eslint-config-christianrank v4.2.0
eslint-config-christianrank
The eslint config I'm using in my projects
This config extends the famous eslint-config-airbnb. I included their source rule as a comment and a comment why I changed something there for every rule.
This config is always specific to my projects, and there's a lot to improve (see todo comments), so you may not want to use it.
Installation
NPM
npm install --save-dev eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-christianrank
Yarn
yarn add -D eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-christianrank
Usage
To use this config, create an .eslintrc.js
file in your project directory with the following content:
module.exports = {
extends: 'christianrank',
}
License
MIT