graphqlint

GraphQLint is for linting schema files against certain rules and conventions - aim to integrate with ESLint and VSCode

Usage no npm install needed!

<script type="module">
  import graphqlint from 'https://cdn.skypack.dev/graphqlint';
</script>

README

graphqlint

GraphQLint is for linting schema files against certain rules and conventions - aim to integrate with ESLint and VSCode

This package is using Node and TypeScript

install

npm i

build

npm run build

lint

npm run lint

tests

npm run test
# or
# npm run test:coverage

samples

You can use ./bin/index.js

npm run sample:01a
npm run sample:01b

# multiple files
npm run sample:all

usage

npm i -g graphqlint
graphqlint path/to/your/schema.gql