Skip to content

Enhance fmtscan dictionary with HTML and CSS terms #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

HeatCrab
Copy link
Contributor

@HeatCrab HeatCrab commented Apr 4, 2025

This PR updates the spelling dictionary with three terms - 'href' and 'rel' from HTML, and 'monospace' from CSS - that fmtscan marked as false positives during web integration. It fixes a flagging issue also seen in #265, ensuring reliable static analysis, but leaves #265's request for better error details in fmtscan unaddressed.

Related Issue: #265

Copy link
Contributor

@jserv jserv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The passage effectively cautions against using the ambiguous term "front-end" by providing several distinct technical contexts where it has different meanings. It then offers clearer alternative terminology ("web" or "http").

While working on web integration for the assignment, fmtscan marked
'href' and 'rel' from HTML, and 'monospace' from CSS, as spelling
errors - a problem also seen in sysprog21#265. Add these valid terms to the
dictionary to avoid false positives and ensure reliable static
analysis. This fixes the flagging issue from sysprog21#265 but leaves its
request for better error details in fmtscan unaddressed.

Change-Id: Ia59908e7ce9bdf4b6c9e0110d5ad061d401cbba1
@HeatCrab HeatCrab force-pushed the frontend-dict-update branch from 6bbe55d to e459061 Compare April 7, 2025 07:07
@HeatCrab HeatCrab changed the title Enhance fmtscan dictionary with front-end terms Enhance fmtscan dictionary with HTML and CSS terms Apr 7, 2025
@HeatCrab
Copy link
Contributor Author

HeatCrab commented Apr 7, 2025

I've updated both the PR title and description to use "HTML and CSS terms" instead, specifying that 'href' and 'rel' come from HTML, and 'monospace' from CSS. Please let me know if anything else needs improvement!

@jserv jserv merged commit 16079c8 into sysprog21:master Apr 7, 2025
1 of 2 checks passed
@jserv
Copy link
Contributor

jserv commented Apr 7, 2025

Thank @HeatCrab for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants