My personal ESlint config used for all projects.
First, install this package along with ESLint in your project. This package requires at least version 8.1 of ESLint
npm install -D eslint @fisch0920/eslint-config
Then create a file named .eslintrc.js
in the root of the project/package:
module.exports = {
extends: ['@fisch0920/eslint-config']
}
For Node-only projects (no React/browser code), use the node
config:
module.exports = {
extends: ['@fisch0920/eslint-config/node']
}
MIT © Travis Fischer