Skip to content

Commit

Permalink
chore: enable i18n lint
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Oct 12, 2024
1 parent 7f37032 commit 986f537
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@
"plugin:@taiga-ui/experience/entry-points"
],
"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",
"@angular-eslint/template/elements-content": "off"
Expand Down
1 change: 1 addition & 0 deletions projects/addon-commerce/utils/get-currency-symbol.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable i18n/no-thai-character */
import type {TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';
import {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/types';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class TuiInspectPipe implements PipeTransform {
* of the function may differ from build to build, which can be to
* various problems when screenshot testing on e2e.
*/
// eslint-disable-next-line i18n/no-greek-character
return 'λ(x) => y';
}

Expand Down
1 change: 1 addition & 0 deletions projects/demo/src/modules/app/pages.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable i18n/no-russian-character */
import type {TuiDocRoutePages} from '@taiga-ui/addon-doc';

import {DemoRoute} from './demo-routes';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable i18n/no-japanese-character */
import {NgForOf, NgIf} from '@angular/common';
import {Component} from '@angular/core';
import {FormsModule} from '@angular/forms';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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],
});

Expand Down

0 comments on commit 986f537

Please sign in to comment.