add some basic linting rules for translation consistency (#5212)

* lint rules

* trans rule

* migrate away from rulesDir config

* fixes

* prefer Trans to t()

* typechecker

* cleanup

* note

* typo

* extend regex to include punctuation

* extend fixer to handle imports

* autofixes from punctuation
This commit is contained in:
Matt Fiddaman
2025-07-04 15:17:17 -04:00
committed by GitHub
parent 80bb4ab299
commit 2d95fe6d03
65 changed files with 490 additions and 190 deletions

View File

@@ -65,7 +65,6 @@
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-rulesdir": "^0.2.2",
"eslint-plugin-typescript-paths": "^0.0.33",
"globals": "^15.15.0",
"html-to-image": "^1.11.13",