Combines various plugins and rulesets for use in mi11er.net projects.
Note: don't forget the require peerDepencies.
npm install --save-dev eslint @mi11er/eslint-config eslint-plugin-optimize-regex eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-security
or
yarn add -D eslint @mi11er/eslint-config eslint-plugin-optimize-regex eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-security
Add the config to your .eslintrc
file:
{
"extends": "@mi11er"
}
or for react/preact based projects
{
"extends": "@mi11er/eslint-config/react"
}