eslint-plugin-graphql icon indicating copy to clipboard operation
eslint-plugin-graphql copied to clipboard

Use settings instead of rule configs

Open bradzacher opened this issue 7 years ago • 0 comments
trafficstars

Similar to how eslint-plugin-import uses the settings section to define some "global" config for the plugin, it'd be good to refactor this plugin to use settings instead of rule configs.

docs: https://github.com/benmosher/eslint-plugin-import#settings example: https://github.com/benmosher/eslint-plugin-import/blob/ed719a3305ef1bb723d92d7b8227ccb0cdf1f8be/utils/parse.js#L40

Issue Labels

  • [ ] has-reproduction
  • [X] feature
  • [ ] docs
  • [ ] blocking
  • [ ] good first issue

bradzacher avatar Jun 20 '18 10:06 bradzacher