mediacurrent / theme_generator_8

Yeoman generator for Drupal Themes - lets you quickly set up a Drupal 8 theme with sensible defaults and best practices.
MIT License
100 stars 24 forks source link

ESLint Structure #62

Closed graysonhicks closed 3 years ago

graysonhicks commented 4 years ago

Create a mediacurrent/recommended eslint config to handle vanilla JS standards. This could then be installed and extended in the theme generator.

"extends": [
    "plugin:mediacurrent/recommended"
  ]

A React config should also be created as mediacurrent/jsx that could then be extended in theme generator projects that need React coverage, or on standalone React project as well.

Here is the documentation on creating a shareable/published eslint config: https://eslint.org/docs/developer-guide/shareable-configs

mariohernandez commented 3 years ago

This is a nice-to-have. Closing for now.