This repository has been archived by the owner on May 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lgulich
committed
Mar 18, 2020
1 parent
a85b295
commit 76ebd81
Showing
10 changed files
with
108 additions
and
6,300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
## Installation | ||
|
||
Install with | ||
```sh | ||
pip3 install lg-linter | ||
``` | ||
**Note:** This will install / overwrite the linter config files in your home directory. | ||
|
||
## How to use | ||
Inside your git repo run | ||
```sh | ||
init-lg-linter | ||
init_lg_linter | ||
``` | ||
|
||
The linter is now active and will be run before every commit. | ||
If you want to remove the linter from your repo use | ||
``` | ||
deinit-lg-linter | ||
deinit_lg_linter | ||
``` | ||
|
||
**Pro Tip** | ||
If the linter complains about stuff which clearly is wrong you can override him with | ||
**Pro Tip:** If the linter complains about stuff which clearly is wrong you can override him with | ||
``` | ||
git commit --no-verify | ||
``` | ||
Use with care, with great power comes great responsibility! | ||
|
||
For feature requests or bugs please drop an issue at https://github.com/lgulich/lg-linter. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
filter=-legal/copyright,-build/header_guard |
Oops, something went wrong.