Normalize i18n() calls to prepare for ICU migration

This commit is contained in:
Jamie Kyle
2023-03-28 11:26:46 -07:00
committed by GitHub
parent 7c8e7c1013
commit c02c8d9640
17 changed files with 377 additions and 273 deletions

View File

@@ -213,6 +213,16 @@ const typescriptRules = {
'@typescript-eslint/consistent-type-imports': 'error',
// Future: Maybe switch to never and always use `satisfies`
'@typescript-eslint/consistent-type-assertions': [
'error',
{
assertionStyle: 'as',
// Future: Maybe switch to allow-as-parameter or never
objectLiteralTypeAssertions: 'allow',
},
],
// Already enforced by TypeScript
'consistent-return': 'off',