Type object
File match mycode.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/mycode-json/latest.json
Source https://www.schemastore.org/mycode.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

Eval

Script that is executed by passing a string to the host-provided eval function.

Default: "MyCode"
All of: classification enum
Function

Script that is executed by passing a string to the 'Function' constructor.

Default: "LibraryCode"
All of: classification enum
ScriptBlock

Script that is executed by passing a string to the 'setTimeout', 'setImmediate', or 'setInterval' functions.

Default: "UnrelatedCode"
All of: classification enum
MyCode

An array of urls or files that are classified as 'MyCode'.

All of: includes string[]
Libraries

An array of urls or files that are classified as 'LibraryCode'.

All of: includes string[]
Unrelated

An array of urls or files that are classified as 'UnrelatedCode'.

All of: includes string[]

Definitions

classification enum
includes string[]