Skip to content

Commit

Permalink
disabled lighthouse assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherpickering committed Jun 27, 2023
1 parent 3484d80 commit 53ebc60
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions lighthouserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ module.exports = {
target: 'lhci',
serverBaseUrl: 'https://lighthouse.atlas.bi',
},
"assert": {
"preset": "lighthouse:no-pwa",
"assertions": {
"color-contrast": "warn",
"is-crawlable": "off",
"redirects": "off",
"robots-txt": "off",
"csp-xss": "warn",
"unused-css-rules": "warn",
"tap-targets": "warn",
"third-party-facades": "warn",
"unused-javascript": "warn",
"uses-responsive-images": "warn",
"uses-text-compression": "warn",
"crawlable-anchors": "warn",
"label": "warn",
"link-name": "warn",
"heading-order": "warn"
},
},
// "assert": {
// "preset": "lighthouse:no-pwa",
// "assertions": {
// "color-contrast": "warn",
// "is-crawlable": "off",
// "redirects": "off",
// "robots-txt": "off",
// "csp-xss": "warn",
// "unused-css-rules": "warn",
// "tap-targets": "warn",
// "third-party-facades": "warn",
// "unused-javascript": "warn",
// "uses-responsive-images": "warn",
// "uses-text-compression": "warn",
// "crawlable-anchors": "warn",
// "label": "warn",
// "link-name": "warn",
// "heading-order": "warn"
// },
// },
collect: {
startServerCommand: "export FLASK_ENV=test && export FLASK_DEBUG=False && export FLASK_APP=web && export FLASK_RUN_PORT=4998 && poetry run flask run",
url: [
Expand Down

0 comments on commit 53ebc60

Please sign in to comment.