From 8d1c960c0bba9ae17c8855bd303509822d710f55 Mon Sep 17 00:00:00 2001 From: splincode Date: Fri, 11 Oct 2024 14:03:21 +0300 Subject: [PATCH] chore: enable i18n lint --- package.json | 1 - projects/demo/src/modules/app/pages.ts | 1 + projects/demo/src/modules/pipes/field-error/examples/5/index.ts | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 59f6f08b9a24..3e158d0c4d96 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,6 @@ "rules": { "i18n/no-greek-character": "off", "i18n/no-japanese-character": "off", - "i18n/no-russian-character": "off", "i18n/no-thai-character": "off", "jest/prefer-importing-jest-globals": "off", "sonarjs/prefer-nullish-coalescing": "off", diff --git a/projects/demo/src/modules/app/pages.ts b/projects/demo/src/modules/app/pages.ts index bd3684d914b7..90a38970d688 100644 --- a/projects/demo/src/modules/app/pages.ts +++ b/projects/demo/src/modules/app/pages.ts @@ -1,3 +1,4 @@ +/* eslint-disable i18n/no-russian-character */ import type {TuiDocRoutePages} from '@taiga-ui/addon-doc'; import {DemoRoute} from './demo-routes'; diff --git a/projects/demo/src/modules/pipes/field-error/examples/5/index.ts b/projects/demo/src/modules/pipes/field-error/examples/5/index.ts index 5293b2e41586..9154a9c7318c 100644 --- a/projects/demo/src/modules/pipes/field-error/examples/5/index.ts +++ b/projects/demo/src/modules/pipes/field-error/examples/5/index.ts @@ -42,6 +42,7 @@ export default class Example { constructor() { this.form = this.fb.group({ + // eslint-disable-next-line i18n/no-russian-character text: ['русский текст', Validators.required], });