🔧 Personal ESLint config
Install eslint and this package, save it as a devDependency:
npm i -D eslint eslint-config-jensrott
Create a .eslintrc file in the root of your project's directory (it should live where package.json does).
Add this to your .eslintrc file:
{
"extends": "jensrott"
}
If you're using React:
{
"extends": "jensrott/react"
}
You can add two scripts to your package.json to lint and/or fix:
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
The MIT License (MIT). Please see License File for more information.