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.
Files changed (78) hide show
  1. package/README.md +25 -0
  2. package/README.md.orig +665 -0
  3. package/docs/AnsiConsoleFormatter.html +2 -2
  4. package/docs/ConfigBasedFormatter.html +2 -2
  5. package/docs/DirItem.html +2 -2
  6. package/docs/DirItem.js.html +2 -2
  7. package/docs/FileType.html +2 -2
  8. package/docs/FileType.js.html +2 -2
  9. package/docs/FormatterManager.html +2 -2
  10. package/docs/FormatterManager.js.html +2 -2
  11. package/docs/ParserManager.html +2 -2
  12. package/docs/ParserManager.js.html +2 -2
  13. package/docs/PluginManager.html +9 -9
  14. package/docs/PluginManager.js.html +63 -6
  15. package/docs/Project.html +2 -2
  16. package/docs/Project.js.html +2 -2
  17. package/docs/ResourceCompleteness.html +726 -0
  18. package/docs/ResourceDNTTerms.html +1046 -0
  19. package/docs/ResourceEdgeWhitespace.html +723 -0
  20. package/docs/ResourceICUPluralTranslation.html +284 -0
  21. package/docs/ResourceICUPlurals.html +3 -3
  22. package/docs/ResourceMatcher.html +2 -2
  23. package/docs/ResourceNoTranslation.html +334 -0
  24. package/docs/ResourceQuoteStyle.html +2 -2
  25. package/docs/ResourceSourceChecker.html +3 -3
  26. package/docs/ResourceStateChecker.html +2 -2
  27. package/docs/ResourceTargetChecker.html +3 -3
  28. package/docs/ResourceUniqueKeys.html +2 -2
  29. package/docs/RuleManager.html +2 -2
  30. package/docs/RuleManager.js.html +2 -2
  31. package/docs/RuleSet.html +2 -2
  32. package/docs/RuleSet.js.html +2 -2
  33. package/docs/SourceFile.html +2 -2
  34. package/docs/SourceFile.js.html +2 -2
  35. package/docs/XliffParser.html +2 -2
  36. package/docs/XliffPlugin.html +2 -2
  37. package/docs/formatters_AnsiConsoleFormatter.js.html +2 -2
  38. package/docs/formatters_ConfigBasedFormatter.js.html +2 -2
  39. package/docs/global.html +443 -3
  40. package/docs/ilibLint.md +0 -1728
  41. package/docs/index.html +2 -2
  42. package/docs/plugins_XliffParser.js.html +2 -2
  43. package/docs/plugins_XliffPlugin.js.html +2 -2
  44. package/docs/resource-completeness.md +24 -0
  45. package/docs/resource-dnt-terms.md +26 -0
  46. package/docs/resource-edge-whitespace.md +13 -0
  47. package/docs/resource-no-double-byte-space.md +10 -0
  48. package/docs/resource-no-halfwidth-kana-characters.md +8 -0
  49. package/docs/resource-no-space-between-double-and-single-byte-character.md +12 -0
  50. package/docs/resource-no-space-with-fullwidth-punctuation.md +25 -0
  51. package/docs/resource-no-translation.md +35 -0
  52. package/docs/rules_ResourceCompleteness.js.html +159 -0
  53. package/docs/rules_ResourceDNTTerms.js.html +312 -0
  54. package/docs/rules_ResourceEdgeWhitespace.js.html +212 -0
  55. package/docs/rules_ResourceICUPluralTranslation.js.html +329 -0
  56. package/docs/rules_ResourceICUPlurals.js.html +22 -37
  57. package/docs/rules_ResourceMatcher.js.html +9 -15
  58. package/docs/rules_ResourceNoTranslation.js.html +164 -0
  59. package/docs/rules_ResourceQuoteStyle.js.html +2 -2
  60. package/docs/rules_ResourceSourceChecker.js.html +14 -10
  61. package/docs/rules_ResourceStateChecker.js.html +2 -2
  62. package/docs/rules_ResourceTargetChecker.js.html +11 -9
  63. package/docs/rules_ResourceUniqueKeys.js.html +2 -2
  64. package/docs/rules_SourceFileChecker.js.html +2 -2
  65. package/docs/rules_utils.js.html +158 -0
  66. package/docs/walk.js.html +2 -2
  67. package/package.json +2 -2
  68. package/src/PluginManager.js +61 -4
  69. package/src/rules/ResourceCompleteness.js +87 -0
  70. package/src/rules/ResourceDNTTerms.js +240 -0
  71. package/src/rules/ResourceEdgeWhitespace.js +140 -0
  72. package/src/rules/ResourceICUPluralTranslation.js +258 -0
  73. package/src/rules/ResourceICUPlurals.js +20 -35
  74. package/src/rules/ResourceMatcher.js +7 -13
  75. package/src/rules/ResourceNoTranslation.js +92 -0
  76. package/src/rules/ResourceSourceChecker.js +12 -8
  77. package/src/rules/ResourceTargetChecker.js +9 -7
  78. 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