wist icon indicating copy to clipboard operation
wist copied to clipboard

A linter for BrightScript

Results 21 wist issues
Sort by recently updated
recently updated
newest added

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies
javascript

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...

dependencies
javascript

The error: ``` Error: ENOENT: no such file or directory, open 'C:\Git_work\Roku-Sample-App\source\*.brs' at Object.fs.openSync (fs.js:646:18) at Object.fs.readFileSync (fs.js:551:33) at processFile (C:\Users\eg874k\AppData\Roaming\npm\node_modules\@willowtreeapps\wist\src\js\cli-engine.js:64:21) at executeOnFile (C:\Users\eg874k\AppData\Roaming\npm\node_modules\@willowtreeapps\wist\src\js\cli-engine.js:89:28) at patterns.forEach.filename (C:\Users\eg874k\AppData\Roaming\npm\node_modules\@willowtreeapps\wist\src\js\cli-engine.js:94:13) at Array.forEach ()...

bug
help wanted
good first issue

Dangling dot operators are valid syntax and the roku interpreter ends up ignoring the final dot. I dislike the language behavior here but it does run as valid syntax. Would...

bug
help wanted
grammar

setFocus() should not be called inside a SG node's init() function, since the node may be stealing focus from elsewhere in the app when it shouldn't

help wanted
new rule
good first issue

At some point, chaining objects with the `.` operator becomes dangerous and prone to runtime errors due to an intermedia object being invalid. It'd be nice to warn against some...

help wanted
new rule
good first issue
request for comments

boolean type coersion is inconsistent. A rule to detect this would be helpful. Motivation: ``` Brightscript Debugger> a = invalid Brightscript Debugger> if a: print "hi": end if Type Mismatch....

enhancement
help wanted

Something like a comment-based format to override rules. Maybe `' bslint "rule-name": "severity"` As an example to turn off the rule `no-print` you would add the following comment: `' bslint...

enhancement
request for comments

We could leverage wist to find or enforce minimum firmware versions, something which is required for Roku app submission. The [Roku SDK docs](https://sdkdocs.roku.com/) are pretty good at documenting which version...

enhancement
request for comments

We should add a new rule for trailing commas? Reference eslint implementation https://eslint.org/docs/rules/comma-dangle For example, the following function ```brightscript function sampleFunction() as object if GetGlobalAA().user = invalid then user =...

enhancement
help wanted
new rule
good first issue