aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-03-24 15:02:39 +0100
committerArmand Philippot <git@armandphilippot.com>2022-03-24 15:02:39 +0100
commitef15022857409312e2b26585ba194f9838bf1262 (patch)
tree4db2b9cb28eb823a1aacb10eaecc41c4964e5869 /.eslintrc.json
parent8bb3431fc1c545643511e586e6fa7218521b716f (diff)
parent9226671f49b507ce6f71e6e2c3621014f05f74e9 (diff)
refactor: replace babel with swc
The build time will be faster with SWC.
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json9
1 files changed, 8 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 46d209f..e79fc56 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -2,6 +2,13 @@
"extends": ["next/core-web-vitals", "prettier"],
"plugins": ["formatjs"],
"rules": {
- "formatjs/enforce-default-message": ["error", "literal"]
+ "formatjs/enforce-default-message": ["error", "literal"],
+ "formatjs/enforce-description": ["error", "literal"],
+ "formatjs/enforce-id": [
+ "error",
+ {
+ "idInterpolationPattern": "[sha512:contenthash:base64:6]"
+ }
+ ]
}
}