ilib-lint 1.4.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/README.md.orig +665 -0
- package/docs/AnsiConsoleFormatter.html +2 -2
- package/docs/ConfigBasedFormatter.html +2 -2
- package/docs/DirItem.html +2 -2
- package/docs/DirItem.js.html +2 -2
- package/docs/FileType.html +2 -2
- package/docs/FileType.js.html +2 -2
- package/docs/FormatterManager.html +2 -2
- package/docs/FormatterManager.js.html +2 -2
- package/docs/ParserManager.html +2 -2
- package/docs/ParserManager.js.html +2 -2
- package/docs/PluginManager.html +9 -9
- package/docs/PluginManager.js.html +63 -6
- package/docs/Project.html +2 -2
- package/docs/Project.js.html +2 -2
- package/docs/ResourceCompleteness.html +726 -0
- package/docs/ResourceDNTTerms.html +1046 -0
- package/docs/ResourceEdgeWhitespace.html +723 -0
- package/docs/ResourceICUPluralTranslation.html +284 -0
- package/docs/ResourceICUPlurals.html +3 -3
- package/docs/ResourceMatcher.html +2 -2
- package/docs/ResourceNoTranslation.html +334 -0
- package/docs/ResourceQuoteStyle.html +2 -2
- package/docs/ResourceSourceChecker.html +3 -3
- package/docs/ResourceStateChecker.html +2 -2
- package/docs/ResourceTargetChecker.html +3 -3
- package/docs/ResourceUniqueKeys.html +2 -2
- package/docs/RuleManager.html +2 -2
- package/docs/RuleManager.js.html +2 -2
- package/docs/RuleSet.html +2 -2
- package/docs/RuleSet.js.html +2 -2
- package/docs/SourceFile.html +2 -2
- package/docs/SourceFile.js.html +2 -2
- package/docs/XliffParser.html +2 -2
- package/docs/XliffPlugin.html +2 -2
- package/docs/formatters_AnsiConsoleFormatter.js.html +2 -2
- package/docs/formatters_ConfigBasedFormatter.js.html +2 -2
- package/docs/global.html +443 -3
- package/docs/ilibLint.md +0 -1728
- package/docs/index.html +2 -2
- package/docs/plugins_XliffParser.js.html +2 -2
- package/docs/plugins_XliffPlugin.js.html +2 -2
- package/docs/resource-completeness.md +24 -0
- package/docs/resource-dnt-terms.md +26 -0
- package/docs/resource-edge-whitespace.md +13 -0
- package/docs/resource-no-double-byte-space.md +10 -0
- package/docs/resource-no-halfwidth-kana-characters.md +8 -0
- package/docs/resource-no-space-between-double-and-single-byte-character.md +12 -0
- package/docs/resource-no-space-with-fullwidth-punctuation.md +25 -0
- package/docs/resource-no-translation.md +35 -0
- package/docs/rules_ResourceCompleteness.js.html +159 -0
- package/docs/rules_ResourceDNTTerms.js.html +312 -0
- package/docs/rules_ResourceEdgeWhitespace.js.html +212 -0
- package/docs/rules_ResourceICUPluralTranslation.js.html +329 -0
- package/docs/rules_ResourceICUPlurals.js.html +22 -37
- package/docs/rules_ResourceMatcher.js.html +9 -15
- package/docs/rules_ResourceNoTranslation.js.html +164 -0
- package/docs/rules_ResourceQuoteStyle.js.html +2 -2
- package/docs/rules_ResourceSourceChecker.js.html +14 -10
- package/docs/rules_ResourceStateChecker.js.html +2 -2
- package/docs/rules_ResourceTargetChecker.js.html +11 -9
- package/docs/rules_ResourceUniqueKeys.js.html +2 -2
- package/docs/rules_SourceFileChecker.js.html +2 -2
- package/docs/rules_utils.js.html +158 -0
- package/docs/walk.js.html +2 -2
- package/package.json +2 -2
- package/src/PluginManager.js +61 -4
- package/src/rules/ResourceCompleteness.js +87 -0
- package/src/rules/ResourceDNTTerms.js +240 -0
- package/src/rules/ResourceEdgeWhitespace.js +140 -0
- package/src/rules/ResourceICUPluralTranslation.js +258 -0
- package/src/rules/ResourceICUPlurals.js +20 -35
- package/src/rules/ResourceMatcher.js +7 -13
- package/src/rules/ResourceNoTranslation.js +92 -0
- package/src/rules/ResourceSourceChecker.js +12 -8
- package/src/rules/ResourceTargetChecker.js +9 -7
- package/src/rules/utils.js +28 -49
package/README.md
CHANGED
|
@@ -591,6 +591,31 @@ limitations under the License.
|
|
|
591
591
|
|
|
592
592
|
## Release Notes
|
|
593
593
|
|
|
594
|
+
### v1.5.1
|
|
595
|
+
|
|
596
|
+
- state checker rule was not configured properly, so it did not run. Now, it will.
|
|
597
|
+
|
|
598
|
+
### v1.5.0
|
|
599
|
+
|
|
600
|
+
- added rule to ensure whitespaces at the edges of string are preserved in the same form
|
|
601
|
+
- added rule to check if resources have both source and target defined
|
|
602
|
+
- fixed bug where resources of type array or plural were not getting
|
|
603
|
+
processed properly in the declarative rules
|
|
604
|
+
- added rule to check Do Not Translate terms in resources
|
|
605
|
+
- added rule to warn against half-width kana characters
|
|
606
|
+
- added rule to warn against double-byte whitespace characters
|
|
607
|
+
- added rule to warn of whitespace adjacent to certain fullwidth punctuation characters
|
|
608
|
+
- added rule to warn of a space between double-byte and single-byte character
|
|
609
|
+
- added rule to check whether or not there is a translation for each source string in
|
|
610
|
+
a resource
|
|
611
|
+
- removed ability for the ICU plural rule to report results on the
|
|
612
|
+
source text
|
|
613
|
+
- now it only checks the target text
|
|
614
|
+
- a different rule should be implemented to check the
|
|
615
|
+
source text
|
|
616
|
+
- added rule to check if any of the categories of a plural, select,
|
|
617
|
+
or selectordinal are not translated
|
|
618
|
+
|
|
594
619
|
### v1.4.0
|
|
595
620
|
|
|
596
621
|
- added rules to detect some double-byte (fullwidth) characters
|