noModuleScopeApiCalls: narrow to governed calls (runtime.getCurrentScript works at module scope)

Open
#86 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
devtools

Research direction

Read the runtime verification results at docs/verification/results/module-scope-runtime-calls.md and module-scope-search-call.md, then review docs/rule-priority.md and the open part of issue #69 concerning record.create and record.load. Decide which module-scope calls the rule should flag, along with the message and severity; done means the rule’s scope and priority are specified.

Written by the indexing model from the issue text.

Description

needs-triage

Runtime verification (PR #85, docs/verification/results/module-scope-runtime-calls.md and module-scope-search-call.md, C-011) shows runtime.getCurrentScript(), runtime.envType and search.createColumn() work at module scope in a RESTlet, while a search throws a catchable SSS_USAGE_LIMIT_EXCEEDED. The rule flags every N/ call as an error, including ones that work. Decide which calls it should flag, its message and severity under docs/rule-priority.md. Needs #69's open part first (record.create/record.load at module scope).

Dominant language
TypeScript
Stars
1
Forks
0
Avg merge
2h 8m
Merged PRs (30d)
64

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nemchik/biome-plugin-suitescript

All issues in nemchik/biome-plugin-suitescript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.