This package provides some linting rules for houdini.
To use this plugin, add it to the list of plugins in houdini.config.js
:
/// <references types="houdini-plugin-svelte-lint">
/** @type {import('houdini').ConfigFile} */
const config = {
plugins: {
"houdini-plugin-lint": {},
},
};
export default config;
Fragments declared in a component must start with the same name as the component.
✅ In CompA.svelte
or CompA.tsx
, Fragments must start with CompA
.