We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4a6609 commit e47d769Copy full SHA for e47d769
drupal/flycheck.el
@@ -64,10 +64,8 @@ See URL `http://pear.php.net/package/PHP_CodeSniffer/'."
64
(warning line-start
65
(file-name) ":" line ":" column ": warning - " (message)
66
line-end))
67
- ;; We'd prefer to just check drupal-mode, but flycheck global mode
68
- ;; finds the checker before we get a chance to set drupal-mode.
69
:predicate (lambda ()
70
- (apply 'derived-mode-p (append drupal-css-modes drupal-js-modes drupal-info-modes))))
+ (and drupal-mode drupal/phpcs-standard)))
71
72
;; Append our custom checker.
73
(add-to-list 'flycheck-checkers 'drupal-phpcs t)
0 commit comments