Releases: lingui/eslint-plugin
Releases · lingui/eslint-plugin
0.9.0
0.8.4
What's Changed
Full Changelog: 0.8.3...0.8.4
0.8.3
What's Changed
- fix:
no-unlocalized-strings
rule to ignore string literals in expressions assigned to variables specified inignoreNames
by @swernerx in #94
Full Changelog: 0.8.2...0.8.3
0.8.2
What's Changed
- fix:
no-unlocalized-strings
rule to ignore default parameter values specified inignoreNames
by @swernerx in #91 - fix:
no-unlocalized-strings
rule to correctly handle as const assertions in property values withignoreNames
by @swernerx in #92
New Contributors
Full Changelog: 0.8.1...0.8.2
0.8.1
What's Changed
- fix(no-unlocalized-strings): ignore more cases by @timofei-iatsenko in #84
Full Changelog: 0.8.0...0.8.1
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