1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 12:52:10 +00:00
seirdy.one/linter-configs/hintrc

88 lines
1.4 KiB
Text
Raw Normal View History

{
"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",
"contain",
"image-rendering: pixelated",
"contain-intrinsic-size",
"content-visibility",
"text-size-adjust"
]
}
],
"compat-api/html": [
"error",
{
"ignore": [
"time",
"picture",
2021-08-01 06:59:43 +00:00
"meta[name=color-scheme]",
"meta[name=theme-color]",
"img[decoding]",
"a[referrerpolicy]",
"code[translate]",
"a[translate]",
"span[translate]",
"samp[translate]"
]
}
],
"doctype": "error",
2021-08-01 06:59:43 +00:00
"http-cache": [
"error",
{
"maxAgeTarget": 600
2021-08-01 06:59:43 +00:00
}
],
2021-06-30 06:54:55 +00:00
"http-compression": "off",
"https-only": "error",
"manifest-file-extension": "error",
"manifest-is-valid": "error",
"meta-viewport": "error",
"no-bom": "error",
"no-p3p": "error",
"html-checker": "off",
"content-type": ["error", {
".*\\.svg": "image/svg+xml"
}],
"no-html-only-headers": [ "warning",
{
"ignore": ["content-security-policy"]
}],
2021-08-01 06:59:43 +00:00
"performance-budget": [
"error",
{
"connectionType": "3GSlow",
"loadTime": 10
}
],
"stylesheet-limits": [
"error",
{
"maxRules": 100,
"maxSheets": 2,
"maxImports": 0
2021-08-01 06:59:43 +00:00
}
],
"ssllabs": "off"
}
}