Skip to content
Snippets Groups Projects
Unverified Commit 9936feb8 authored by totten's avatar totten Committed by GitHub
Browse files

civilint.md - Split out comments on multiple lines

These examples are in a code block  - which prevents wrapping. When reading on the published site, you have to scroll horizontally.

Moving them to separate lines makes them more legible.
parent c1e7c591
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 ...@@ -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: Note that civilint may be invoked a few different ways:
```bash ```bash
civilint # (no arguments) – Check style of any uncommitted changes. # (no arguments) – Check style of any uncommitted changes.
civilint some/file.php # Check style of a specific file (or list of files). civilint
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) # 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: 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