@greenberry/eslint-config

3.5.2 • Public • Published

Greenberry eslint-config v3

ESLint and Prettier bundle for all things Greenberry.

Install

npm i -D  @greenberry/eslint-config

Upgrade from v2.0.0

Remove redundant packages:

npm remove @greenberry/eslint-config eslint

Install the latest version eslint-config:

npm i -D @greenberry/eslint-config

React

package.json:

{
  "scripts": {
    "lint": "eslint src --fix"
  }
}

.eslintrc:

{
  "extends": "@greenberry/eslint-config"
}

NextJS

⚠️ Requires eslint-config-next @11.1.4

package.json:

{
  "scripts": {
    "lint": "next lint --fix"
  }
}

}

.eslintrc:

{
  "extends": ["next/core-web-vitals", "@greenberry/eslint-config"]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @greenberry/eslint-config

Weekly Downloads

714

Version

3.5.2

License

MIT

Unpacked Size

2.23 kB

Total Files

4

Last publish

Collaborators

  • the-mo
  • freekboon
  • greenberry_marvin
  • waxsnl
  • bartvandijk