chore(nc-gui): lint

This commit is contained in:
Ramesh Mane
2026-01-13 07:25:14 +00:00
parent b3e46ee4ad
commit 58005b635a
11 changed files with 32 additions and 32 deletions

View File

@@ -175,6 +175,7 @@ onMounted(() => {
let lastIndex = 0
let match
// eslint-disable-next-line no-cond-assign
while ((match = expressionRegex.exec(vModel.value)) !== null) {
const [fullMatch, expression] = match
@@ -211,6 +212,7 @@ onMounted(() => {
const pathRegex = /\.(\w+)|\[['"]([^'"]+)['"]\]/g
let pathMatch
// eslint-disable-next-line no-cond-assign
while ((pathMatch = pathRegex.exec(currentPath)) !== null) {
// pathMatch[1] is dot notation capture, pathMatch[2] is bracket notation capture
properties.push(pathMatch[1] || pathMatch[2])