eslint-config-jensrott

1.0.2 • Public • Published

eslint-config-jensrott

🔧 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.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-jensrott

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

5.87 kB

Total Files

6

Last publish

Collaborators

  • jensrott