Skip to content

Commit a3bb641

Browse files
committed
ci(apps, napi): skip linting files generated by NAPI-RS
1 parent 024b48a commit a3bb641

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

oxlintrc.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@
4444
"crates/oxc_semantic/tests/**",
4545
"napi/minify/**", // TODO
4646
"!apps/oxlint/test/fixtures/**",
47-
"apps/oxlint/test/fixtures/*/files/**"
47+
"apps/oxlint/test/fixtures/*/files/**",
48+
// Files generated by NAPI-RS
49+
"*.d.ts",
50+
"napi/*/*.wasi.cjs",
51+
"napi/*/src-js/*.wasi.cjs",
52+
"napi/*/wasi-worker-browser.mjs",
53+
"napi/*/src-js/wasi-worker-browser.mjs",
54+
"napi/*/webcontainer-fallback.cjs",
55+
"napi/*/src-js/webcontainer-fallback.cjs"
4856
]
4957
}

0 commit comments

Comments
 (0)