@lmc-eu/eslint-config-graphql

3.0.2 • Public • Published

@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’t forget to have .graphqlconfig file:

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

Plugins

This configuration uses the following plugins:

Package Sidebar

Install

npm i @lmc-eu/eslint-config-graphql

Weekly Downloads

2

Version

3.0.2

License

BSD-3-Clause

Unpacked Size

6.64 kB

Total Files

5

Last publish

Collaborators

  • dlouhak
  • crishpeen
  • petrofcikmatus
  • martinhrdlicka
  • petrlz
  • ondram
  • literat