These are settings for Eslint I use in my projects.
Install eslint
and @vospel/eslint-config
npm i -D eslint @vospel/eslint-config
# or
pnpm i -D eslint @vospel/eslint-config
# or
yarn add -D eslint @vospel/eslint-config
Add extends to your .eslintrc
module.exports = {
extends: [
'@vospel',
],
}