2.0.0 • Published 3 months ago
@strv/eslint-config-graphql v2.0.0
@strv/eslint-config-graphql
Installation
npm install -D @strv/eslint-config-graphql
Usage
// eslint.config.mjs
import graphql from '@strv/eslint-config-graphql'
/** @type {Array<import("eslint").Linter.FlatConfig>} */
const config = [{
// Perhaps also apply other configs?
{ files: ['**/*.js'], ...graphql },
}]
export default config
Additionally don't forget to have .graphqlconfig
file:
{
// ...
"schemaPath": "schema.json"
// ...
}
License
See the LICENSE file for information.
2.0.0
3 months ago
1.1.0
2 years ago
1.0.0
3 years ago
1.0.0-alpha.1
3 years ago
1.0.0-alpha.0
3 years ago
0.1.0-alpha.0
4 years ago