Skip to content
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

no-invalid-modules doesn't recognize "N/scriptTypes/restlet" #17

Open
btonasse opened this issue Oct 24, 2024 · 0 comments
Open

no-invalid-modules doesn't recognize "N/scriptTypes/restlet" #17

btonasse opened this issue Oct 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@btonasse
Copy link

Describe the bug
Including "N/scriptTypes/restlet" in the define function raises a linting error if "no-invalid-modules" rule is active. This is a valid SuiteScript module for RESTlets

To Reproduce
Steps to reproduce the behavior:

  1. Enable the "no-invalid-modules" rule
  2. Create a new RESTlet file
  3. In the define function, include "N/scriptTypes/restlet" as one of the imported modules

Expected behavior
This is a valid SuiteScript module for RESTlets and no error should be displayed.

Node version
Irrelevant

ESLint version
9.11.1

Screenshots
N/A

Additional context
Official documentation of the module: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_4130555042.html

@btonasse btonasse added the bug Something isn't working label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants