{"id":23774566,"url":"https://github.com/wpup/wp-cli-lint","last_synced_at":"2025-07-16T11:04:45.534Z","repository":{"id":34488030,"uuid":"38427649","full_name":"wpup/wp-cli-lint","owner":"wpup","description":"Lint your WordPress code using WP CLI","archived":false,"fork":false,"pushed_at":"2019-12-02T14:22:38.000Z","size":16,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-11T06:41:15.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wpup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-02T10:56:09.000Z","updated_at":"2023-04-05T15:29:46.000Z","dependencies_parsed_at":"2022-09-01T08:50:52.267Z","dependency_job_id":null,"html_url":"https://github.com/wpup/wp-cli-lint","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/wpup%2Fwp-cli-lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Fwp-cli-lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Fwp-cli-lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Fwp-cli-lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpup","download_url":"https://codeload.github.com/wpup/wp-cli-lint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232052268,"owners_count":18465727,"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":[],"created_at":"2025-01-01T06:15:48.528Z","updated_at":"2025-01-01T06:15:49.191Z","avatar_url":"https://github.com/wpup.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-cli-lint\n\n[![Build Status](https://travis-ci.org/frozzare/wp-cli-lint.svg)](https://travis-ci.org/frozzare/wp-cli-lint)\n[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n\nLint your WordPress code using WP CLI.\n\n## Installation\n\nIf you're using WP-CLI v0.23.0 or later, you can install this package with:\n\n```\nwp package install frozzare/wp-cli-lint\n```\n\nAlternatively, you can require this file in your global config file or add it to your project.\n\nExample of `~/.wp-cli/config.yml`:\n\n```yaml\nrequire:\n  - /path/to/wp-cli-lint/src/class-lint-command.php\n```\n\nFor other methods, please refer to WP-CLI's [Community Packages](https://github.com/wp-cli/wp-cli/wiki/Community-Packages) wiki.\n\n## Usage\n\nRunning the command without any options will lint your code in the current directory with `WordPress-Core` standard. The lint command will try to find a ruleset in the same directory you are linting or in the `ABSPATH` or in Bedrocks base directory.\n\nExample:\n\n```\nwp lint\nwp lint path/to/code\n```\n\n### Config\n\nYou can add the path to the `phpcs` bin to use in WP CLI's config file and/or the standard that should be used.\n\nExample of `~/.wp-cli/config.yml`:\n\n```yaml\nlint:\n  phpcs: /path/to/phpcs\n  standard: WordPress-Extra\n```\n\n### Options\n\n#### `[\u003cdirectory\u003e]`\nThe directory to lint code in. **Default: 'Current directory'**\n\n#### `[--standard=\u003cstandard\u003e]`\nThe standard to use when running `phpcs`. **Default: 'WordPress-Core'**\n\n### Examples\n\n```\nwp lint\nwp lint path/to/code --standard=WordPress-Extra\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpup%2Fwp-cli-lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpup%2Fwp-cli-lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpup%2Fwp-cli-lint/lists"}