Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
lgulich committed Mar 18, 2020
1 parent a85b295 commit 76ebd81
Show file tree
Hide file tree
Showing 10 changed files with 108 additions and 6,300 deletions.
12 changes: 6 additions & 6 deletions README.md
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.
1 change: 1 addition & 0 deletions lib/lg_linter/config/CPPLINT.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
filter=-legal/copyright,-build/header_guard
Loading

0 comments on commit 76ebd81

Please sign in to comment.