Package Exports
- @lmc-eu/eslint-config-graphql
- @lmc-eu/eslint-config-graphql/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@lmc-eu/eslint-config-graphql) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@lmc-eu/eslint-config-graphql
Install
npm install @lmc-eu/eslint-config-graphql -DUsage
Create a .eslintrc.js file with the following contents:
module.exports = {
extends: [
// ... (base eslint config)
'@lmc-eu/eslint-config-graphql',
],
};The shareable config can be customized in your eslint configuration file.
Additionally don’t forget to have .graphqlconfig file:
{
// ...
"schemaPath": "schema.json"
// ...
}Plugins
This configuration uses the following plugins: