graphqlint
v1.4.0
Published
GraphQLint is for linting schema files against certain rules and conventions - aim to integrate with ESLint and VSCode
Downloads
2
Maintainers
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