All notable changes to this project will be documented in this file.
The format is loosely based on Keep a Changelog and this project adheres to Semantic Versioning.
- Switch to
@formatjs/icu-messageformat-parser
asintl-messageformat-parser
is now deprecated. This is a breaking change, the new parser uses icu4j implementation and has stricter validations. - Add new rule
i18n-json/identical-placeholders
. - Related PRs
- security: Bump intl-messageformat-parser from v3 to v5 due to CVE-2020-7660
- Major bump as a precaution, due to
intl-messageformat-parser
getting bumped from v3 to v5. - Related PRs
- Issue #36 - Thanks Michael Desantis - Intertek Alchemy LP.
- ignore non json files which are passed to the plugin rules.
- Related PRs/Issues
valid-message-syntax: upgrade intl-messageformat-parser
to ^3.0.7
for parsing fixes.
- update to make plugin compatible when used within a file watching service. e.g) webpack dev server.
- new example project showcasing how to configure the plugin with webpack development.
- Related PRs
- New plugin setting:
i18n-json/ignore-keys
. Takes a list of key paths (case sensitive) to ignore when checking syntax and doing key structure comparisons. Only acknowledged by theidentical-keys
andvalid-syntax
rules. See README for more details on use. - new example project for
i18n-json/ignore-keys
to showcase usage. - Related PRs
- sorted-keys: converted the sort feature into an actual eslint rule (backwards compatible with <= 2.2.0). See README for more details on use.
- May the 4th be with you! :)
- Related PRs
sorted-keys: prevent eslint from failing when --fix
is not passed.
- Related PRs
- #11 - Thanks @Nainterceptor
identical-keys: minimized diffing output.
- Related PRs
- #6. Thanks @tvarsis