1.0.2 • Published 4 years ago

eslint-config-jensrott v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

eslint-config-jensrott

:wrench: Personal ESLint config

Installation

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"
},

License

The MIT License (MIT). Please see License File for more information.