General ESLint configuration for TypeScript.
echo -e "@mlyngvo:registry=https://npm.pkg.github.com" >> .npmrc
npm i -D @mlyngvo/eslint-config
Extends your eslint
config file with the proper library.
module.exports = {
extends: [
'@mlyngvo/eslint-config/react'
],
}
module.exports = {
extends: [
'@mlyngvo/eslint-config/node'
],
}