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 58fb25a commit 3ba088cCopy full SHA for 3ba088c
drupal/flycheck.el
@@ -50,7 +50,6 @@ so no need to highlight it twice."
50
drupal/phpcs-standard)
51
;; Set the coding standard to "Drupal" (we checked that it is
52
;; supported above.
53
- (set (make-local-variable 'flycheck-phpcs-standard) drupal/phpcs-standard)
54
55
(when drupal/flycheck-phpcs-js-and-css
56
(if (and (apply 'derived-mode-p (append drupal-css-modes drupal-js-modes))
@@ -59,6 +58,7 @@ so no need to highlight it twice."
59
58
(set (make-local-variable 'flycheck-checker) 'css-js-phpcs)
60
)
61
+ (set 'flycheck-phpcs-standard drupal/phpcs-standard)
62
63
;; Flycheck will also highlight trailing whitespace as an
64
;; error so no need to highlight it twice.
0 commit comments