GoogleChrome / lighthouse-ci

Automate running Lighthouse for every commit, viewing the changes, and preventing regressions
Apache License 2.0
6.34k stars 635 forks source link

how to disable a specific audit on a specifc page #885

Open ayushthe1 opened 1 year ago

ayushthe1 commented 1 year ago

I am running the lighthouse-ci on my website. There are some audits that I want to disable for a particular page. For example I want to disable the color-contrast audit only for my about page . I want that test to run on all other pages. I have tried different ways of changing my .lighthouserc.js config file to do this but none seems to work. Can anyone please suggest me a way to do this ?