Bug 257853

Summary: [WPT export friction] Run WPT lint as part of WebKit development via check-webkit-style
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: gsnedders, jbedard, simon.fraser, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Anne van Kesteren
Reported 2023-06-08 08:59:41 PDT
We should run WPT lint as part of our own listing infrastructure to ensure exports to WPT don't run into issues that would have been easily addressed ahead-of-time.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-06-15 09:00:22 PDT
Jonathan Bedard
Comment 2 2023-06-22 08:03:53 PDT
Naively, it seems like check-webkit-style would be the right place for this.
Sam Sneddon [:gsnedders]
Comment 3 2024-05-20 13:15:45 PDT
We currently are meant to blanket ignore everything in LayoutTests (but see Bug 274407), so this also implies changing the current ignore rule to run a specific lint on a bunch of LayoutTests.
Sam Sneddon [:gsnedders]
Comment 4 2024-08-22 10:53:13 PDT
*** Bug 278503 has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 5 2024-08-22 12:59:05 PDT
The use-experience here is that if the WPT linter finds an issue when you are exporting a WPT, you have no recourse to fix it and continue the export.
Simon Fraser (smfr)
Comment 6 2024-09-06 12:13:41 PDT
To run the WPT linter manually, you can pass it full paths to new files: ./LayoutTests/imported/w3c/web-platform-tests/wpt lint <list of absolute paths>
Note You need to log in before you can comment on or make changes to this bug.