mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
7a3aee1539
- Add lint using local installation of the Nu HTML Validator and some jq-based filtering of false positives - Move linter configs to directory, to de-clutter the repo
58 lines
871 B
Text
58 lines
871 B
Text
{
|
|
"connector": {
|
|
"name": "puppeteer",
|
|
"options": {
|
|
"browser": "Chromium",
|
|
"headless": true
|
|
}
|
|
},
|
|
"extends": [
|
|
"web-recommended"
|
|
],
|
|
"formatters": [
|
|
"codeframe"
|
|
],
|
|
"hints": {
|
|
"apple-touch-icons": "off",
|
|
"axe/aria": "off",
|
|
"compat-api/css": [
|
|
"error",
|
|
{
|
|
"ignore": [
|
|
"filter"
|
|
]
|
|
}
|
|
],
|
|
"compat-api/html": [
|
|
"error",
|
|
{
|
|
"ignore": [
|
|
"time",
|
|
"picture",
|
|
"meta[name=color-scheme]",
|
|
"img[decoding]"
|
|
]
|
|
}
|
|
],
|
|
"doctype": "error",
|
|
"highest-available-document-mode": "off",
|
|
"http-cache": [
|
|
"error",
|
|
{
|
|
"maxAgeTarget": 300
|
|
}
|
|
],
|
|
"http-compression": "off",
|
|
"https-only": "error",
|
|
"manifest-file-extension": "error",
|
|
"manifest-is-valid": "error",
|
|
"performance-budget": [
|
|
"error",
|
|
{
|
|
"connectionType": "3GSlow",
|
|
"loadTime": 5
|
|
}
|
|
],
|
|
"ssllabs": "off"
|
|
}
|
|
}
|