htmlhint / htmlhint/vscode-htmlhint
html fragments of .php files support
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 7
- Avg merge
- 3h 33m
- Merged PRs (30d)
- 2
Description
PHP files can be a mix of html and php code. It would be nice if HTMLHint could check the html fragments of PHP files, just ignoring the PHP fragments.
Years ago, a similar issue was created in the microsoft vscode-htmlhint extension: https://github.com/microsoft/vscode-htmlhint/issues/50 The opener of the issue suggested how to address the issue (I do not know if his suggestion is viable).
If this support is possible, it would be nice if htmlhint.options could be different for every file type.
Thanking you in advance
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked microsoft/vscode-htmlhint issue 50, then inspect this extension's current file-type handling and htmlhint.options configuration. Determine how mixed PHP and HTML content could be supported and whether options can vary by file type. Done means HTML fragments are checked while PHP fragments are ignored, with any per-file-type option behavior defined and tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100