Skip to content
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

Linter to prevent xref-ing unexported terms? #437

Open
saschanaz opened this issue Dec 14, 2021 · 3 comments
Open

Linter to prevent xref-ing unexported terms? #437

saschanaz opened this issue Dec 14, 2021 · 3 comments

Comments

@saschanaz
Copy link
Member

I think some generalized warning system for cases like w3c/input-events#129 will be helpful, and webref is a good place for that to happen.

@saschanaz
Copy link
Member Author

Or, if bikeshed never has this problem and it's actually ReSpec-specific, maybe @sidvishnoi could implement a linter there?

@sidvishnoi
Copy link
Member

sidvishnoi commented Dec 14, 2021

w3c/respec#1360 is probably the relevant ReSpec issue here.

If Bikeshed also faces such issue, this might be better suited for spec-prod.
Edit: Or implement here and spec-prod can use it like it does for webidl.

@tidoust
Copy link
Member

tidoust commented Dec 15, 2021

Webref contains the data needed to create the warnings. We've split Reffy's codebase into two parts not long ago: Reffy in itself being the crawler and Strudy being the analyser. The analyses that get produced have the right info but they are somewhat useless right now in that they don't create warnings and thus are ignored by basically everyone in practice:

Anyway, we are thinking about creating a more useful warning system that actually raises issues against the specs when needed, see w3c/strudy#7

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

No branches or pull requests

3 participants