aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-28 17:31:05 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-28 22:49:08 +0100
commit29658cdcd1c112eb9d0ce66b75f1baf77532f265 (patch)
treee02a24dad45710a3122cb25ba8813b300ac2b6c1 /.eslintrc.json
parentc05207e62f7472eecdb9ad9a311f756d1be9a5b7 (diff)
build(deps): configure eslint and babel with formatjs
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 4d765f2..46d209f 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,3 +1,7 @@
{
- "extends": ["next/core-web-vitals", "prettier"]
+ "extends": ["next/core-web-vitals", "prettier"],
+ "plugins": ["formatjs"],
+ "rules": {
+ "formatjs/enforce-default-message": ["error", "literal"]
+ }
}