style: format the phase 2 files and add them to the format scope

Prettier on the 13 new test files that failed --check; format-scope.json
now lists every file phase 2 added (src/globe/**, engineChoice, navaraMode,
cameraAngles, the QA scripts and pages, build/navaraAssets and tests).
This commit is contained in:
German Khokhlov committed 2026-10-15 22:34:25 +04:00
1 parent 312ed416e9
commit 80cc0b536e
14 files changed
+229 -46

No files matched your search

+6 -1
View File
@@ -24,7 +24,12 @@ test('Navara internals are pinned: package.json and internals.js name the same e
const PRIVATE_ACCESS = /\.\s*_[A-Za-z]|\[\s*['"`]_[A-Za-z]/;
test('the private-member pattern catches dotted and bracketed access', () => {
for (const code of ['view._isIdle', 'view?._scenes', "view['_isIdle']", 'v[ "_x" ]'])
for (const code of [
'view._isIdle',
'view?._scenes',
"view['_isIdle']",
'v[ "_x" ]',
])
assert.ok(PRIVATE_ACCESS.test(code), code);
for (const code of ['view.isIdle', 'a_b.c', "map['key']"])
assert.ok(!PRIVATE_ACCESS.test(code), code);