Skip to content

jeppefrandsen/cpplint-webkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpplint-webkit

Small script for checking WebKit Code Style Guidelines with cpplint Visual Studio code plugin. The repository also contains the check-webkit-style tool extracted from the WebKit repository with minor modifications to make it work without the complete codebase.

Install

  • Clone this repository or download the source from a release tag
  • Extract and change to the cpplint-webkit directory
  • Install the tool e.g. in a docker container by running ./install
  • Install the cpplint VS Code plugin (can also be added to e.g. devcontainer.json for automatic installation)
  • Configure any options to WebKit's check-webkit-style with the CPPLINT_WEBKIT_ARGS environment variable
  • Make sure that /usr/local/bin is in your evironment PATH variable
  • Run git config --global --add safe.directory '*' to make sure the /usr/share/WebKit is set to be safe