arnested / drupal-mode

Advanced Emacs minor mode for Drupal development
https://melpa.org/#/drupal-mode
GNU General Public License v3.0
32 stars 14 forks source link

Use flycheck-add-next-checker. #43

Closed xendk closed 10 years ago

xendk commented 10 years ago

Properly chain into the checker chain for js/css modes. Also check info files. Closes #41.

Take a look @arnested ...

arnested commented 10 years ago

Looks fine although I'm not familiar with details of flycheck.el (yet?).

Merged and thank you.

dhaley commented 10 years ago

@xendk, thanks for the flycheck 'drupal/phpcs' checker. It's working great for me under drupal-mode - latest 'development' HEAD.

I was able to take the hardcoded:

<?php $phpCodeSnifferConfig = array ( 'default_standard' => 'Drupal', ) ?>

out of my CodeSniffer.conf so I can now use other flycheck phpcs checkers on non-Drupal php files.

arnested commented 10 years ago

Good to know, @dhaley.

I just released it as version 0.5.0.