GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - flycheck/flycheck-google-cpplint: Google C++ Style checker for Flycheck

BranchesTags
Open more actions menu

Latest commit

 

History

91 Commits
91 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.gitignore
.gitignore
 
 
COPYING
COPYING
 
 
Eask
Eask
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
flycheck-google-cpplint.el
flycheck-google-cpplint.el
 
 

Repository files navigation

License: GPL v3 MELPA MELPA Stable

flycheck-google-cpplint.el

CI

Add Google C++ Style checker for Flycheck.

If you're want to write code according to the Google C++ Style Guide , this will help a great deal.

I recommend that the package google-c-style also installed with.

💾 Installation

As usual, from MELPA.

In your Cask file:

(source gnu)
(source melpa)

(depends-on "flycheck-google-cpplint")

In your init.el:

(eval-after-load 'flycheck
  '(progn
     (require 'flycheck-google-cpplint)
     ;; Add Google C++ Style checker.
     ;; In default, syntax checked by Clang and Cppcheck.
     (flycheck-add-next-checker 'c/c++-cppcheck
                                '(warning . c/c++-googlelint))))

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

(flycheck-add-next-checker 'c/c++-clang
                           '(warning . c/c++-googlelint))

🔧 Usage

Install cpplint through pip

pip install cpplint

P.S. Make sure cpplint is in your environment path settings

Configure for cpplint.py

(custom-set-variables
 '(flycheck-googlelint-verbose "3")
 '(flycheck-googlelint-filter "-whitespace,+whitespace/braces")
 '(flycheck-googlelint-root "project/src")
 '(flycheck-googlelint-linelength "120"))

🛠️ Contribute

🔬 Development

To run the test locally, you will need the following tools:

  • Eask
  • Make (optional)

Install all dependencies and development dependencies:

eask install-deps --dev

To test the package's installation:

eask package
eask install

To test compilation:

eask compile

🪧 The following steps are optional, but we recommend you follow these lint results!

The built-in checkdoc linter:

eask lint checkdoc

The standard package linter:

eask lint package

📝 P.S. For more information, find the Eask manual at https://emacs-eask.github.io/.

⚜️ License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

See COPYING for details.

About

Google C++ Style checker for Flycheck

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

42 stars

Watchers

6 watching

Forks

11 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.