1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-24 05:02:10 +00:00
seirdy.one/linter-configs/hintrc
Rohan Kumar 7a3aee1539
Streamline lint configuration
- 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
2022-05-11 10:01:22 -07:00

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"
}
}