eslint-plugin-next-auth0
v0.0.1
Published
Rules enforcing best practices when using Auth0's NextJS SDK.
Downloads
1
Readme
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.