-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
OWD project proposal: implement BCD's next-generation linter #79
Comments
This sounds great! I have a suggestion: I would be glad if the new linter used async I/O. Occasionally, I have to work on limited computers (HDD-based/old/low-power/etc.) and linting becomes a real drag. For reference, (due to circumstances outside of my control) this week I'm working on a computer with Intel Core 2 Duo (launched in 2006, discontinued in 2012). |
Since mdn/browser-compat-data#16437 had landed, can we close this issue or is there more work to be done? |
This can now be closed as completed! 🎉 |
Summary
The current BCD linter is very limited; it doesn't (and cannot) check several things which impede data quality improvements. Starting a new linter, based on what we've learned from projects such as Stumptown and standalone BCD tests, can bring many benefits to consumers in the form of data quality improvements, such as:
With the existing tools, these quality improvements are high risk to achieve.
Moreover, this would have substantial benefits for authors and contributors, reducing friction in contributing new data or making improvements.
Background
BCD's linter is long in the tooth. It grew from a time when we had lower expectations about what compat data would look like and how we'd work with it. With increasing automation and quality, it's no longer meeting our needs.
Unfortunately, its existing design makes it very difficult to change and improve. It has a number of problems, such as tight coupling, redundant code, and extremely limited test coverage. Even simple bugs require substantial excavation to fix; see mdn/browser-compat-data#12673 as an example.
I've written a high-level design doc for a new linter for BCD, which could make use of developments that emerged after BCD's original linter's design cemented, such as our suite of utility functions, Mocha tests, and more.
Prioritization criteria
The text was updated successfully, but these errors were encountered: