0.0.1 • Published 11 months ago

eslint-plugin-next-auth0 v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

eslint-plugin-next-auth0

TODO

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-next-auth0:

npm install eslint-plugin-next-auth0 --save-dev

Usage

Add next-auth0 to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["next-auth0"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "next-auth0/rule-name": 2
  }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.