Skip to content

Latest commit

History

History

eslint-config-graphql

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

@lmc-eu/eslint-config-graphql

Install

npm install @lmc-eu/eslint-config-graphql -D

Usage

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鈥檛 forget to have .graphqlconfig file:

{
  // ...
  "schemaPath": "schema.json"
  // ...
}

Plugins

This configuration uses the following plugins: