skilld-labs / zen

Fork of Drupal Zen theme https://www.drupal.org/project/zen
1 stars 5 forks source link

Improve ESLint settings to cover Drupal JS standards #15

Open andriyun opened 7 years ago

andriyun commented 7 years ago

There are Drupal JS coding standards https://www.drupal.org/docs/develop/standards/javascript/javascript-coding-standards

ESLint can cover it partially. Lets improve them using existing ESLint rules http://eslint.org/docs/rules/

Also we have in core settings http://cgit.drupalcode.org/drupal/tree/core/.eslintrc.json

pabloguerino commented 7 years ago

this seems a little outdated, we should be heading to a linter config that supports es6/es7