Skip to content

Commit a97c9ed

Browse files
committed
Update the install guide
Use 'warning as a flycheck level instead of the outdated 'warnings-only. Fixes flycheck#5 and flycheck#6.
1 parent dc23300 commit a97c9ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ In your `init.el`:
3232
;; Add Google C++ Style checker.
3333
;; In default, syntax checked by Clang and Cppcheck.
3434
(flycheck-add-next-checker 'c/c++-cppcheck
35-
'(warnings-only . c/c++-googlelint))))
35+
'(warning . c/c++-googlelint))))
3636
```
3737

3838
If you not use `cppcheck`. You have need to change `flycheck-add-next-checker`.
3939

4040
```
4141
(flycheck-add-next-checker 'c/c++-clang
42-
'(warnings-only . c/c++-googlelint))
42+
'(warning . c/c++-googlelint))
4343
```
4444

4545
## Usage

0 commit comments

Comments
 (0)