Open andriyun opened 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
this seems a little outdated, we should be heading to a linter config that supports es6/es7
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