1
0
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-12-12 20:46:52 +01:00

perf: reduce build size + add next-secure-headers

This commit is contained in:
Divlo
2021-08-12 01:19:11 +02:00
parent 712805df93
commit 4f5dfc63ea
15 changed files with 3408 additions and 2800 deletions

View File

@@ -5,7 +5,7 @@
"next/core-web-vitals",
"prettier"
],
"plugins": ["prettier"],
"plugins": ["unicorn", "prettier"],
"parserOptions": {
"project": "./tsconfig.json"
},
@@ -15,6 +15,17 @@
"jest": true
},
"rules": {
"prettier/prettier": "error"
"prettier/prettier": "error",
"unicorn/prefer-node-protocol": "error",
"unicorn/prevent-abbreviations": [
"error",
{
"replacements": {
"props": {
"properties": false
}
}
}
]
}
}