Adjust diagnostic filters
This commit is contained in:
1 parent
84bd50d970
commit
39591abc34
7 files changed
+15
-4
No files matched your search
@@ -3,10 +3,13 @@
|
||||
"createPackage": false,
|
||||
"diagnosticFilters": [
|
||||
{
|
||||
"src": "**/roku_modules/**/*.*"
|
||||
},
|
||||
// This is to prevent errors where the onChange function is not found in the component scope
|
||||
1067 // Cannot find function with name '${name}' in component scope
|
||||
"src": "**/*.part.xml",
|
||||
"codes": [
|
||||
// 1067 - Cannot find function with name '${name}' in component scope
|
||||
// This is to prevent errors where the onChange function is not found in the component scope
|
||||
1067
|
||||
]
|
||||
}
|
||||
],
|
||||
"diagnosticLevel": "error",
|
||||
// The validation regex rules are validated using the validation-plugin.ts plugin
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import "pkg:/components/EcpArgs.bs"
|
||||
import "pkg:/components/parts/AutoBind/AutoBind.part.bs"
|
||||
import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs"
|
||||
import "pkg:/source/utils/LoadingScreen.bs"
|
||||
|
||||
function Init()
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs"
|
||||
import "pkg:/source/utils/FocusManagement.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
import "pkg:/components/Dialog/DialogPalette.bs"
|
||||
import "pkg:/components/Navigation/Navigation.bs"
|
||||
import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs"
|
||||
import "pkg:/components/Services/Invidious/InvidiousService.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
import "pkg:/components/Dialog/DialogUtils.bs"
|
||||
import "pkg:/components/Navigation/Navigation.bs"
|
||||
import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs"
|
||||
import "pkg:/components/Screens/SettingsScreen/InvidiousInstance/InvidiousInstanceTesting/InvidiousInstanceTestingTask.bs"
|
||||
import "pkg:/source/asyncTask/asyncTask.bs"
|
||||
import "pkg:/source/utils/FocusManagement.bs"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs"
|
||||
import "pkg:/components/Web/PlayletWebServer/Middleware/BookmarksRouter.bs"
|
||||
import "pkg:/components/Web/PlayletWebServer/Middleware/DashRouter.bs"
|
||||
import "pkg:/components/Web/PlayletWebServer/Middleware/InvidiousRouter.bs"
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
' A no op function to silence BS1067 errors
|
||||
function OnNodeReady()
|
||||
end function
|
||||
Reference in new issue
Block a user