eslint: Add eslint-plugin-formatjs.

This guards against various mistakes, such as setting defaultMessage
to a computed expression that can’t be extracted.

https://formatjs.io/docs/tooling/linter/

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-06-13 12:53:39 -07:00
committed by Tim Abbott
parent cde8d095bb
commit a9f6764d8c
4 changed files with 60 additions and 3 deletions

View File

@@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 74
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = "150.4"
PROVISION_VERSION = "150.5"