Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.12 KB

README.md

File metadata and controls

15 lines (11 loc) · 1.12 KB

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