{"id":19059933,"url":"https://github.com/idanpa/vscode-checkpatch","last_synced_at":"2025-09-09T12:34:28.167Z","repository":{"id":43061747,"uuid":"162134853","full_name":"idanpa/vscode-checkpatch","owner":"idanpa","description":"Visual Studio Code extension for using linux kernel checkpatch tool to lint code.","archived":false,"fork":false,"pushed_at":"2024-06-30T09:45:46.000Z","size":138,"stargazers_count":11,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T06:48:03.857Z","etag":null,"topics":["checkpatch","lint","linux","linux-kernel-checkpatch","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=idanp.checkpatch","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idanpa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-17T13:28:52.000Z","updated_at":"2024-07-01T18:03:01.000Z","dependencies_parsed_at":"2024-11-09T00:12:14.968Z","dependency_job_id":"e41ea417-2bfd-483c-9eef-7fbacb52a9fb","html_url":"https://github.com/idanpa/vscode-checkpatch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idanpa%2Fvscode-checkpatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idanpa%2Fvscode-checkpatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idanpa%2Fvscode-checkpatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idanpa%2Fvscode-checkpatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idanpa","download_url":"https://codeload.github.com/idanpa/vscode-checkpatch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250580709,"owners_count":21453531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["checkpatch","lint","linux","linux-kernel-checkpatch","vscode-extension"],"created_at":"2024-11-09T00:12:12.449Z","updated_at":"2025-04-24T06:48:10.221Z","avatar_url":"https://github.com/idanpa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Checkpatch Lint\n\n[Visual Studio Code](https://github.com/Microsoft/vscode) extension for using linux kernel checkpatch tool to lint code.\n\n## Installation\n\n[checkpatch.pl](https://github.com/torvalds/linux/blob/master/scripts/checkpatch.pl) script should be either exposed through $PATH or\npointed out by the `checkpatch.checkpatchPath` configuration.\n\n### Linux / [WSL Remote Development](https://code.visualstudio.com/docs/remote/wsl)\n  ```bash\nsudo wget -O /usr/bin/checkpatch.pl \"https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl\"\nsudo wget -O /usr/bin/spelling.txt \"https://raw.githubusercontent.com/torvalds/linux/master/scripts/spelling.txt\"\nsudo chmod 755 /usr/bin/checkpatch.pl\n  ```\n\n### Windows\n\ncmd as administrator:\n  ```bash\ncurl -o %WINDIR%/System32/checkpatch.pl \"https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl\"\ncurl -o %WINDIR%/System32/spelling.txt \"https://raw.githubusercontent.com/torvalds/linux/master/scripts/spelling.txt\"\n  ```\nOn windows, a perl interpreter should also be installed - tested with [ActivePerl Community Edition](https://www.activestate.com/products/activeperl/downloads/).  \n*.pl files should be configured to be opened by the interpreter by default (double click on any *.pl file and choose ActivePerl as the default program).\nGNU 'diff' executable should also be available (can be done by installing [git-for-windows](https://git-scm.com/download/win) and adding it to PATH).\n\n## Commands\n* `checkpatch.checkFile` Check selected file (if the run mode is manual)\n* `checkpatch.checkCommit` Select specific commit to be tested\n* `checkpatch.toggleAutoRun` Toggle automatic checkpatch for the current workspace\n\n## Settings\n* `checkpatch.checkpatchPath` Path to the checkpatch.pl script\n* `checkpatch.checkpatchArgs` checkpatch arguments to use\n* `checkpatch.run` Control whether the linting is automatic on save or manually triggered using the `checkpatch.checkFile` command.\n* `checkpatch.exclude` Glob patterns for excluding files and folders from automatic checks.\n* `checkpatch.diagnosticLevel` Diagnostic level of checkpatch errors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidanpa%2Fvscode-checkpatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidanpa%2Fvscode-checkpatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidanpa%2Fvscode-checkpatch/lists"}