This moves our JS file to use TS instead, which allows us to use a proper linter to check the code. All related files where moved out from the root in a dedicated folder to avoid polluting the Rust environment.
14 lines
338 B
JSON
14 lines
338 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"allowUnreachableCode": false,
|
|
"allowUnusedLabels": false,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noImplicitOverride": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strict": true,
|
|
}
|
|
}
|