{"id":23155090,"url":"https://github.com/tengattack/eslint-plugin-php-markup","last_synced_at":"2025-08-17T22:31:59.878Z","repository":{"id":57230107,"uuid":"129138781","full_name":"tengattack/eslint-plugin-php-markup","owner":"tengattack","description":"A eslint plugin to process PHP markup","archived":false,"fork":false,"pushed_at":"2019-11-30T11:45:43.000Z","size":14,"stargazers_count":8,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-24T11:15:55.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/tengattack.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":"2018-04-11T18:42:04.000Z","updated_at":"2024-04-24T11:15:55.158Z","dependencies_parsed_at":"2022-09-14T15:02:07.032Z","dependency_job_id":null,"html_url":"https://github.com/tengattack/eslint-plugin-php-markup","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/tengattack%2Feslint-plugin-php-markup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tengattack%2Feslint-plugin-php-markup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tengattack%2Feslint-plugin-php-markup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tengattack%2Feslint-plugin-php-markup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tengattack","download_url":"https://codeload.github.com/tengattack/eslint-plugin-php-markup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230085300,"owners_count":18170424,"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":"2024-12-17T20:15:19.394Z","updated_at":"2024-12-17T20:15:20.027Z","avatar_url":"https://github.com/tengattack.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-plugin-php-markup\n\nA eslint plugin to process PHP markup.\n\nIt can make us get rid of \"Unexpected token \u003c\" errors in .php files.\n\n## Principle\n\nThis plugin just replace every php markup `\u003c? ... ?\u003e` to other text.\n\n## Installation\n\n```sh\nnpm install --save-dev eslint-plugin-php-markup\n```\n\n## Usage\n\nAdd `php-markup` to the `plugins` section of your `.eslintrc` configuration file.\n\nBTW, it works like a charm together with [`eslint-plugin-html`](https://github.com/BenoitZugmeyer/eslint-plugin-html)!\n\n```js\n{\n  // ...\n  \"plugins\": [\n    \"html\",\n    \"php-markup\"\n  ],\n  \"settings\": {\n    \"php/php-extensions\": [\".php\"],\n    \"php/markup-replacement\": {\"php\": \"\", \"=\": \"0\"},\n    \"php/keep-eol\": false,\n    \"php/remove-whitespace\": false,\n    \"php/remove-empty-line\": false,\n    \"php/remove-php-lint\": false\n  },\n  // ...\n}\n```\n\nLicense\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftengattack%2Feslint-plugin-php-markup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftengattack%2Feslint-plugin-php-markup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftengattack%2Feslint-plugin-php-markup/lists"}