Releases: lingui/eslint-plugin
Releases · lingui/eslint-plugin
0.8.0
⚠️ Potential Breaking changes⚠️ The
no-unlocalized-strings
rule has been completely rewritten and all defaults have been removed. This may result in breaking changes. See the changelog for more information.
What's Changed
- feat(no-unlocalized-strings): remove default configuration by @timofei-iatsenko in #78
- feat(no-unlocalized-strings): add patterns for ignore functions by @timofei-iatsenko in #77
- chore(deps): bump @eslint/plugin-kit from 0.2.0 to 0.2.3 by @dependabot in #81
- chore(deps): bump cross-spawn from 7.0.3 to 7.0.5 by @dependabot in #83
Full Changelog: 0.7.0...0.8.0
0.7.0
What's Changed
- feat(recommended-config): add
lingui/no-expression-in-message
by @timofei-iatsenko in #74 - fix: not listed dependency
@typescript-eslint/scope-manager
by @timofei-iatsenko in #75
Full Changelog: 0.6.0...0.7.0
0.6.0
What's Changed
- feat(no-expression-in-message): correctly handle
{' '}
in JSX, report for each found expression by @timofei-iatsenko in #68 - feat(no-unlocalized-strings): add regex patterns support by @timofei-iatsenko in #70
- fix: no-single-variables-to-translate renamed to no-single-variable... by @monholm in #69
New Contributors
Full Changelog: 0.5.0...0.6.0
0.5.0
What's Changed
- feat(no-unlocalized-strings): add
ignoreMethodsOnTypes
option by @timofei-iatsenko in #58 - feat(no-expression-in-message): check
Trans
component by @timofei-iatsenko in #60 - feat: support
msg
anddefineMessage
in various rules by @timofei-iatsenko in #61 - feat: support messages defined as
MessageDescriptor
by @timofei-iatsenko in #63 - feat(text-restrictions): apply rules only for translation messages. Support different lingui signatures by @timofei-iatsenko in #64
- feat(no-unlocalized-strings): add
strictAttribute
option by @timofei-iatsenko in #66 - refactor: use more ESLint features instead of custom implementations by @timofei-iatsenko in #62
- refactor(no-unlocalized-strings): merge visitors by @timofei-iatsenko in #59
Full Changelog: 0.4.0...0.5.0
0.4.0
What's Changed
- feat: ESLint 9 + Flat Config support by @timofei-iatsenko in #49
- feat: allow calls to plural function in
no-expression-in-message
by @tstehr in #48 - fix(no-expression-in-message): add
select
andselectOrdinal
to exclusion by @tstehr in #54 - fix(no-unlocalized-strings): ignore Literals in computed MemberExpression by @timofei-iatsenko in #56
- fix(no-unlocalized-strings):
ignoreProperty
support MemberExpression assignments by @timofei-iatsenko in #51 - docs(no-unlocalized-strings): more examples for valid cases by @timofei-iatsenko in #52
- ci: fix release workflow by @andrii-bodnar in #57
New Contributors
Full Changelog: 0.3.0...0.4.0
0.3.0
What's Changed
- feat: respect lazy translation tags in
no-single-variables-to-translate
by @IanKrieger in #34 - ci: minor fixes for the release process by @andrii-bodnar in #27
New Contributors
- @IanKrieger made their first contribution in #34
Full Changelog: 0.2.2...0.3.0
0.2.2
What's Changed
- fix: ban top level t() calls aside from t`` calls by @braineo in #26
- chore(deps): bump @babel/traverse from 7.22.8 to 7.23.5 by @dependabot in #23
- chore(deps): bump semver from 6.3.0 to 6.3.1 by @dependabot in #24
New Contributors
- @dependabot made their first contribution in #23
- @braineo made their first contribution in #26
Full Changelog: 0.2.1...0.2.2
0.2.1
What's Changed
- fix(no-unlocalized-strings): Correct Parent Node Handling for TS Enums by @radist2s in #22
- fix(no-unlocalized-strings): Enhanced
no-unlocalized
Rule for advanced syntax support by @radist2s in #21
New Contributors
Full Changelog: 0.2.0...0.2.1
0.2.0
What's Changed
- feat(no-unlocalized-strings): add ignoreProperty option by @thekip in #20
Full Changelog: 0.1.2...0.2.0
0.1.2
What's Changed
- fix: no-unlocalized properly utilize ignoreFunction option by @coreylight in #16
- test: add a new test case for the ignoreFunction option by @andrii-bodnar in #19
New Contributors
- @coreylight made their first contribution in #16
Full Changelog: 0.1.1...0.1.2