Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sirkitree/DrupalCodingStandard
A Sublime build script for running Drupal Code Sniffer.
https://github.com/sirkitree/DrupalCodingStandard
Last synced: 2 months ago
JSON representation
A Sublime build script for running Drupal Code Sniffer.
- Host: GitHub
- URL: https://github.com/sirkitree/DrupalCodingStandard
- Owner: sirkitree
- Created: 2011-12-21T02:48:25.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-11-02T14:27:09.000Z (about 9 years ago)
- Last Synced: 2024-08-05T22:38:41.756Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 111 KB
- Stars: 39
- Watchers: 6
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sublime Build System for running Drupal Code Sniffer on your Drupal files.
1. Follow the directions for the [Drupal Code Sniffer][1] project (see also: [Installing Drupal Code Sniffer on Sublime Text][2]).
2. Place the DrupalCodingStandard.sublime-build file into your Packages/User directory.
(On OS X this is ~/Library/Application Support/Sublime Text 2/Packages/User)
3. Open up Sublime Text 2 and select Tools > Build System > DrupalCodingStandard
4. Open any Drupal file and hit Cmd+B
5. You can make reporting more compress with "--report=full". In this case sniffer will show only line number(without full path to file)[1]: https://www.drupal.org/project/coder
[2]: https://www.drupal.org/node/1419996