-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESLint error on roles
param in JS project
#5101
Comments
Hi @skiabox and welcome to RedwoodJS. 😄 I cannot reproduce this Eslint error. Is it while doing the tutorial ? If not, more context about how you use Thanks ! |
In TS projects, this doesn't error because we generate the correct ESLint ignore directive: redwood/packages/create-redwood-app/template/api/src/lib/auth.ts Lines 21 to 25 in c234350
What we need to do is add the correct directive for JS projects:
|
Eslint error inside api/src/lib/auth.js
--> 'roles' is defined but never used
The text was updated successfully, but these errors were encountered: