Comments (2)
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).
from drupal-mode.
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.
from drupal-mode.
Related Issues (20)
- Drupal.org documentation heads up HOT 2
- wrong type argument in drupal-convert-line-ending HOT 1
- Flycheck errors with drupal-mode HOT 4
- drupal-phpcs generates error with flycheck 'release-0.22' HOT 5
- Suppressing drupal-mode
- Access protection keywords in class methods confuse indentation HOT 4
- Async cache clear HOT 3
- symbol's value as variable is void: gtags-auto-update HOT 1
- Cannot open load file: no such file or directory, gtags HOT 5
- Drupal-mode adds drupal-phpcs to all supported modes. HOT 13
- Setting c-default-style to a string causes error. HOT 1
- Drupal mode stoped working HOT 6
- Make c-default-style local HOT 1
- Improved web-mode integration
- Drupal 8 info files
- drupal-mode-beginning-of-line obsoleted? HOT 3
- Failing installs via MELPA HOT 7
- drupal-mode slows down TRAMP HOT 1
- flymake-phpcs has been archived HOT 5
- Package cl is deprecated in Emacs-27
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drupal-mode.