💡 eslint-config-reasonable
Just spend your times in thinking & writing codes.
The problem
You like writing good practice and widely-known coding styles, but you hate to set up the tools
Though linting (eslint) is not the core part in a project, but it turns out wasting developer times to set it up. Too many steps and too many repetitive stuffs to install.
The solution
The only one Eslint config/plugin/preset (name it as you want). This package includes:
- eslint-config-airbnb
- eslint-plugin-import
- eslint-plugin-jest
- eslint-plugin-jsx-a11y
- eslint-plugin-react
Additional rules:
- Force maximum line-length ⩽ 80.
- Allow
.jsx
specific conventions in general.js
files.
Install
Install the conventions by running:
$ npm i eslint eslint-config-reasonable --save-dev
Usage
Add the extends to your .eslintrc
:
{
"extends": "reasonable",
"rules": {
// your overrides
}
}
Then start writing great projects
License
MIT © Lufty Wiranda.