chore(eslint): exclude docs-site content from linting

Per-composable demos (demo.vue) and hand-authored doc sections (docs/*.vue) are unpublished docs-site content co-located in packages for the extractor. Ignore **/docs/** and **/demo.vue: they aren't library source, and non-Vue packages can't parse .vue at all (parse error in configs/eslint).
This commit is contained in:
2026-06-08 16:28:52 +07:00
parent 27f7a0f00e
commit c2252a2a5c
+5
View File
@@ -20,6 +20,11 @@ export const ignores: FlatConfigArray = [
'**/.output/**', '**/.output/**',
'**/storybook-static/**', '**/storybook-static/**',
'**/*.min.*', '**/*.min.*',
// Hand-authored docs-site content co-located in packages (intro/guide .vue
// pages and per-composable demos). Not shipped source; lints against the
// docs app's own toolchain, and non-Vue packages can't even parse .vue.
'**/docs/**',
'**/demo.vue',
], ],
}, },
]; ];