You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ESLint is the official linting tool for Drupal 8 now (see #2274223) so we should probably use that instead (although there is now flymake-eslint.el (yet).
Theres ESLint support in flycheck, it just requires one to disable the jshint checker.
The question is whether to just disable jshint buffer locally for Drupal js files, and assume that eslint is available, or do it the proper way and detect whether eshint is installed and only disable jshint in that case. The latter is more proper, but the former is probably easier.
Though flycheck has flycheck-may-use-checker which can tell us whether a checker may be used in the current buffer, which should make it fairly easy to fix up the flycheck-disabled-checkers in some hook.
Use flymake-jshint.el for JavaScript.
JSHint will be officially used as coding standard for JavaScript in Drupal 8. See
http://atendesigngroup.com/blog/looking-at-drupal-8-javascript-changes.
The text was updated successfully, but these errors were encountered: