Skip to content
Snippets Groups Projects
Unverified Commit a6394f5f authored by homotechsual's avatar homotechsual Committed by GitHub
Browse files

Merge pull request #664 from civicrm/totten-civilint-fmt

civilint.md - Split out comments on multiple lines
parents c1e7c591 9936feb8
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,17 @@ Code-style tests ensure a consistent layout across all of the codebase, and they
Note that civilint may be invoked a few different ways:
```bash
civilint # (no arguments) – Check style of any uncommitted changes.
civilint some/file.php # Check style of a specific file (or list of files).
git diff --name-only HEAD~1 | civilint - # Check your last commit
git diff --name-only master | civilint - # Check for changes in your branch (compared to master)
# (no arguments) – Check style of any uncommitted changes.
civilint
# Check style of a specific file (or list of files).
civilint some/file.php
# Check your last commit
git diff --name-only HEAD~1 | civilint -
# Check for changes in your branch (compared to master)
git diff --name-only master | civilint -
```
See also:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment