Skip to content

HoudiniGraphql/houdini-plugin-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Houdini's logo (dark or light)

The disappearing GraphQL clients.

version CI Tests github stars downloads license

➕ houdini-plugin-lint

This package provides some linting rules for houdini.

Setup

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;

Rules

1/ Fragment matching Component name

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.


HoudiniGraphQL.com 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published