ilib-lint 2.2.0 → 2.3.0
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/docs/AnsiConsoleFormatter.html +2 -2
- package/docs/BuiltinPlugin.html +2 -2
- package/docs/ConfigBasedFormatter.html +2 -2
- package/docs/ConfigurationProvider.html +3 -3
- package/docs/ConfigurationProvider_loadConfiguration.html +3 -3
- package/docs/DeclarativeResourceRule.html +2 -2
- package/docs/DirItem.html +2 -2
- package/docs/DirItem.js.html +2 -2
- package/docs/FileConfigurationProvider.html +5 -5
- package/docs/FileConfigurationProvider_loadConfiguration.html +3 -3
- package/docs/FileType.html +181 -5
- package/docs/FileType.js.html +48 -5
- package/docs/FixerManager.html +2 -2
- package/docs/FixerManager.js.html +4 -4
- package/docs/FolderConfigurationProvider.html +4 -4
- package/docs/FolderConfigurationProvider_loadConfiguration.html +3 -3
- package/docs/FormatterManager.html +2 -2
- package/docs/FormatterManager.js.html +5 -5
- package/docs/LineParser.html +78 -4
- package/docs/LineRegexpChecker.html +2 -2
- package/docs/LintableFile.html +1099 -0
- package/docs/LintableFile.js.html +330 -0
- package/docs/ParserManager.html +167 -5
- package/docs/ParserManager.js.html +17 -5
- package/docs/PluginManager.html +10 -10
- package/docs/PluginManager.js.html +120 -92
- package/docs/Project.html +24 -24
- package/docs/Project.js.html +125 -88
- package/docs/ReleaseNotes.md +17 -0
- package/docs/ResourceCompleteness.html +2 -2
- package/docs/ResourceDNTTerms.html +10 -10
- package/docs/ResourceEdgeWhitespace.html +2 -2
- package/docs/ResourceICUPluralTranslation.html +2 -2
- package/docs/ResourceICUPlurals.html +2 -2
- package/docs/ResourceMatcher.html +2 -2
- package/docs/ResourceNoTranslation.html +2 -2
- package/docs/ResourceQuoteStyle.html +342 -6
- package/docs/ResourceRule.html +2 -2
- package/docs/ResourceSourceChecker.html +2 -2
- package/docs/ResourceSourceICUPluralCategories.html +2 -2
- package/docs/ResourceSourceICUPluralParams.html +2 -2
- package/docs/ResourceSourceICUPluralSyntax.html +2 -2
- package/docs/ResourceSourceICUUnexplainedParams.html +2 -2
- package/docs/ResourceStateChecker.html +2 -2
- package/docs/ResourceTargetChecker.html +2 -2
- package/docs/ResourceUniqueKeys.html +4 -4
- package/docs/ResultComparator.js.html +2 -2
- package/docs/RuleManager.html +2 -2
- package/docs/RuleManager.js.html +4 -4
- package/docs/RuleSet.html +142 -5
- package/docs/RuleSet.js.html +13 -2
- package/docs/SourceRegexpChecker.html +2 -2
- package/docs/StringFixCommand_StringFixCommand.html +2 -2
- package/docs/StringParser.html +4 -4
- package/docs/XliffParser.html +79 -5
- package/docs/config_Configuration.js.html +21 -3
- package/docs/config_ConfigurationProvider.js.html +21 -3
- package/docs/config_default.js.html +21 -3
- package/docs/formatters_AnsiConsoleFormatter.js.html +4 -4
- package/docs/formatters_ConfigBasedFormatter.js.html +4 -4
- package/docs/global.html +1090 -143
- package/docs/ilibLint.md +0 -0
- package/docs/index.html +2 -2
- package/docs/plugins_BuiltinPlugin.js.html +5 -5
- package/docs/plugins_LineParser.js.html +10 -10
- package/docs/plugins_XliffParser.js.html +18 -17
- package/docs/plugins_string_StringFix.js.html +4 -4
- package/docs/plugins_string_StringFixCommand.js.html +2 -2
- package/docs/plugins_string_StringFixer.js.html +4 -4
- package/docs/plugins_string_StringParser.js.html +8 -9
- package/docs/resource-xml.md +58 -0
- package/docs/rules_DeclarativeResourceRule.js.html +2 -2
- package/docs/rules_LineRegexpChecker.js.html +5 -5
- package/docs/rules_ResourceCompleteness.js.html +4 -4
- package/docs/rules_ResourceDNTTerms.js.html +4 -5
- package/docs/rules_ResourceEdgeWhitespace.js.html +4 -4
- package/docs/rules_ResourceICUPluralTranslation.js.html +4 -4
- package/docs/rules_ResourceICUPlurals.js.html +3 -3
- package/docs/rules_ResourceMatcher.js.html +3 -3
- package/docs/rules_ResourceNoTranslation.js.html +4 -4
- package/docs/rules_ResourceQuoteStyle.js.html +227 -122
- package/docs/rules_ResourceRule.js.html +4 -4
- package/docs/rules_ResourceSourceChecker.js.html +4 -4
- package/docs/rules_ResourceSourceICUPluralCategories.js.html +4 -4
- package/docs/rules_ResourceSourceICUPluralParams.js.html +4 -4
- package/docs/rules_ResourceSourceICUPluralSyntax.js.html +4 -4
- package/docs/rules_ResourceSourceICUUnexplainedParams.js.html +4 -4
- package/docs/rules_ResourceStateChecker.js.html +4 -4
- package/docs/rules_ResourceTargetChecker.js.html +4 -4
- package/docs/rules_ResourceUniqueKeys.js.html +4 -5
- package/docs/rules_SourceRegexpChecker.js.html +5 -5
- package/docs/rules_utils.js.html +2 -2
- package/package.json +13 -12
- package/src/LintableFile.js +7 -1
- package/src/formatters/AnsiConsoleFormatter.js +2 -1
- package/src/plugins/BuiltinPlugin.js +4 -1
- package/src/rules/ResourceXML.js +244 -0
package/docs/global.html
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<nav >
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AnsiConsoleFormatter.html">AnsiConsoleFormatter</a><ul class='methods'><li data-type='method'><a href="AnsiConsoleFormatter.html#format">format</a></li></ul></li><li><a href="BuiltinPlugin.html">BuiltinPlugin</a><ul class='methods'><li data-type='method'><a href="BuiltinPlugin.html#getFormatters">getFormatters</a></li><li data-type='method'><a href="BuiltinPlugin.html#getParsers">getParsers</a></li><li data-type='method'><a href="BuiltinPlugin.html#getRuleSets">getRuleSets</a></li><li data-type='method'><a href="BuiltinPlugin.html#getRules">getRules</a></li></ul></li><li><a href="ConfigBasedFormatter.html">ConfigBasedFormatter</a><ul class='methods'><li data-type='method'><a href="ConfigBasedFormatter.html#format">format</a></li></ul></li><li><a href="DeclarativeResourceRule.html">DeclarativeResourceRule</a><ul class='methods'><li data-type='method'><a href="DeclarativeResourceRule.html#checkString">checkString</a></li><li data-type='method'><a href="DeclarativeResourceRule.html#matchString">matchString</a></li></ul></li><li><a href="DirItem.html">DirItem</a><ul class='methods'><li data-type='method'><a href="DirItem.html#findIssues">findIssues</a></li><li data-type='method'><a href="DirItem.html#getFilePath">getFilePath</a></li><li data-type='method'><a href="DirItem.html#parse">parse</a></li></ul></li><li><a href="FileConfigurationProvider.html">FileConfigurationProvider</a><ul class='methods'><li data-type='method'><a href="FileConfigurationProvider.html#loadJsConfiguration">loadJsConfiguration</a></li><li data-type='method'><a href="FileConfigurationProvider.html#loadJsonConfiguration">loadJsonConfiguration</a></li></ul></li><li><a href="FileType.html">FileType</a><ul class='methods'><li data-type='method'><a href="FileType.html#getRuleSetNames">getRuleSetNames</a></li><li data-type='method'><a href="FileType.html#getRules">getRules</a></li></ul></li><li><a href="FixerManager.html">FixerManager</a><ul class='methods'><li data-type='method'><a href="FixerManager.html#add">add</a></li><li data-type='method'><a href="FixerManager.html#get">get</a></li><li data-type='method'><a href="FixerManager.html#size">size</a></li></ul></li><li><a href="FolderConfigurationProvider.html">FolderConfigurationProvider</a><ul class='methods'><li data-type='method'><a href="FolderConfigurationProvider.html#hasConfigurationFile">hasConfigurationFile</a></li></ul></li><li><a href="FormatterManager.html">FormatterManager</a><ul class='methods'><li data-type='method'><a href="FormatterManager.html#add">add</a></li><li data-type='method'><a href="FormatterManager.html#get">get</a></li><li data-type='method'><a href="FormatterManager.html#getDescriptions">getDescriptions</a></li><li data-type='method'><a href="FormatterManager.html#size">size</a></li></ul></li><li><a href="LineParser.html">LineParser</a><ul class='methods'><li data-type='method'><a href="LineParser.html#parse">parse</a></li></ul></li><li><a href="LineRegexpChecker.html">LineRegexpChecker</a><ul class='methods'><li data-type='method'><a href="LineRegexpChecker.html#match">match</a></li></ul></li><li><a href="ParserManager.html">ParserManager</a><ul class='methods'><li data-type='method'><a href="ParserManager.html#add">add</a></li><li data-type='method'><a href="ParserManager.html#get">get</a></li><li data-type='method'><a href="ParserManager.html#getDescriptions">getDescriptions</a></li></ul></li><li><a href="PluginManager.html">PluginManager</a><ul class='methods'><li data-type='method'><a href="PluginManager.html#add">add</a></li><li data-type='method'><a href="PluginManager.html#getFixerManager">getFixerManager</a></li><li data-type='method'><a href="PluginManager.html#getFormatterManager">getFormatterManager</a></li><li data-type='method'><a href="PluginManager.html#getParserManager">getParserManager</a></li><li data-type='method'><a href="PluginManager.html#getRuleManager">getRuleManager</a></li><li data-type='method'><a href="PluginManager.html#getRuleSet">getRuleSet</a></li><li data-type='method'><a href="PluginManager.html#load">load</a></li></ul></li><li><a href="Project.html">Project</a><ul class='methods'><li data-type='method'><a href="Project.html#add">add</a></li><li data-type='method'><a href="Project.html#findIssues">findIssues</a></li><li data-type='method'><a href="Project.html#get">get</a></li><li data-type='method'><a href="Project.html#getExcludes">getExcludes</a></li><li data-type='method'><a href="Project.html#getFileType">getFileType</a></li><li data-type='method'><a href="Project.html#getFileTypeForPath">getFileTypeForPath</a></li><li data-type='method'><a href="Project.html#getFixerManager">getFixerManager</a></li><li data-type='method'><a href="Project.html#getIncludes">getIncludes</a></li><li data-type='method'><a href="Project.html#getLocales">getLocales</a></li><li data-type='method'><a href="Project.html#getName">getName</a></li><li data-type='method'><a href="Project.html#getOptions">getOptions</a></li><li data-type='method'><a href="Project.html#getParserManager">getParserManager</a></li><li data-type='method'><a href="Project.html#getPluginManager">getPluginManager</a></li><li data-type='method'><a href="Project.html#getRoot">getRoot</a></li><li data-type='method'><a href="Project.html#getRuleManager">getRuleManager</a></li><li data-type='method'><a href="Project.html#getScore">getScore</a></li><li data-type='method'><a href="Project.html#getSourceLocale">getSourceLocale</a></li><li data-type='method'><a href="Project.html#init">init</a></li><li data-type='method'><a href="Project.html#run">run</a></li><li data-type='method'><a href="Project.html#scan">scan</a></li></ul></li><li><a href="ResourceCompleteness.html">ResourceCompleteness</a><ul class='methods'><li data-type='method'><a href="ResourceCompleteness.html#matchString">matchString</a></li></ul></li><li><a href="ResourceDNTTerms.html">ResourceDNTTerms</a><ul class='methods'><li data-type='method'><a href="ResourceDNTTerms.html#matchString">matchString</a></li><li data-type='method'><a href="ResourceDNTTerms.html#.parseTermsFromJsonFile">parseTermsFromJsonFile</a></li><li data-type='method'><a href="ResourceDNTTerms.html#.parseTermsFromTxtFile">parseTermsFromTxtFile</a></li></ul></li><li><a href="ResourceEdgeWhitespace.html">ResourceEdgeWhitespace</a><ul class='methods'><li data-type='method'><a href="ResourceEdgeWhitespace.html#matchString">matchString</a></li></ul></li><li><a href="ResourceICUPluralTranslation.html">ResourceICUPluralTranslation</a><ul class='methods'><li data-type='method'><a href="ResourceICUPluralTranslation.html#matchString">matchString</a></li></ul></li><li><a href="ResourceICUPlurals.html">ResourceICUPlurals</a></li><li><a href="ResourceMatcher.html">ResourceMatcher</a><ul class='methods'><li data-type='method'><a href="ResourceMatcher.html#checkString">checkString</a></li></ul></li><li><a href="ResourceNoTranslation.html">ResourceNoTranslation</a><ul class='methods'><li data-type='method'><a href="ResourceNoTranslation.html#matchString">matchString</a></li></ul></li><li><a href="ResourceQuoteStyle.html">ResourceQuoteStyle</a><ul class='methods'><li data-type='method'><a href="ResourceQuoteStyle.html#matchString">matchString</a></li></ul></li><li><a href="ResourceRule.html">ResourceRule</a><ul class='methods'><li data-type='method'><a href="ResourceRule.html#getRuleType">getRuleType</a></li><li data-type='method'><a href="ResourceRule.html#match">match</a></li><li data-type='method'><a href="ResourceRule.html#matchString">matchString</a></li></ul></li><li><a href="ResourceSourceChecker.html">ResourceSourceChecker</a><ul class='methods'><li data-type='method'><a href="ResourceSourceChecker.html#checkString">checkString</a></li></ul></li><li><a href="ResourceSourceICUPluralCategories.html">ResourceSourceICUPluralCategories</a><ul class='methods'><li data-type='method'><a href="ResourceSourceICUPluralCategories.html#matchString">matchString</a></li></ul></li><li><a href="ResourceSourceICUPluralParams.html">ResourceSourceICUPluralParams</a><ul class='methods'><li data-type='method'><a href="ResourceSourceICUPluralParams.html#matchString">matchString</a></li></ul></li><li><a href="ResourceSourceICUPluralSyntax.html">ResourceSourceICUPluralSyntax</a><ul class='methods'><li data-type='method'><a href="ResourceSourceICUPluralSyntax.html#matchString">matchString</a></li></ul></li><li><a href="ResourceSourceICUUnexplainedParams.html">ResourceSourceICUUnexplainedParams</a><ul class='methods'><li data-type='method'><a href="ResourceSourceICUUnexplainedParams.html#matchString">matchString</a></li></ul></li><li><a href="ResourceStateChecker.html">ResourceStateChecker</a><ul class='methods'><li data-type='method'><a href="ResourceStateChecker.html#match">match</a></li></ul></li><li><a href="ResourceTargetChecker.html">ResourceTargetChecker</a><ul class='methods'><li data-type='method'><a href="ResourceTargetChecker.html#checkString">checkString</a></li></ul></li><li><a href="ResourceUniqueKeys.html">ResourceUniqueKeys</a><ul class='methods'><li data-type='method'><a href="ResourceUniqueKeys.html#match">match</a></li></ul></li><li><a href="RuleManager.html">RuleManager</a><ul class='methods'><li data-type='method'><a href="RuleManager.html#add">add</a></li><li data-type='method'><a href="RuleManager.html#addRuleSetDefinition">addRuleSetDefinition</a></li><li data-type='method'><a href="RuleManager.html#addRuleSetDefinitions">addRuleSetDefinitions</a></li><li data-type='method'><a href="RuleManager.html#get">get</a></li><li data-type='method'><a href="RuleManager.html#getDescriptions">getDescriptions</a></li><li data-type='method'><a href="RuleManager.html#getRuleSetDefinition">getRuleSetDefinition</a></li><li data-type='method'><a href="RuleManager.html#getRuleSetDefinitions">getRuleSetDefinitions</a></li><li data-type='method'><a href="RuleManager.html#getRules">getRules</a></li><li data-type='method'><a href="RuleManager.html#size">size</a></li><li data-type='method'><a href="RuleManager.html#sizeRuleSetDefinitions">sizeRuleSetDefinitions</a></li></ul></li><li><a href="RuleSet.html">RuleSet</a><ul class='methods'><li data-type='method'><a href="RuleSet.html#add">add</a></li><li data-type='method'><a href="RuleSet.html#addRule">addRule</a></li><li data-type='method'><a href="RuleSet.html#getRule">getRule</a></li><li data-type='method'><a href="RuleSet.html#getRules">getRules</a></li><li data-type='method'><a href="RuleSet.html#getSize">getSize</a></li></ul></li><li><a href="SourceFile.html">SourceFile</a><ul class='methods'><li data-type='method'><a href="SourceFile.html#findIssues">findIssues</a></li><li data-type='method'><a href="SourceFile.html#getLocaleFromPath">getLocaleFromPath</a></li><li data-type='method'><a href="SourceFile.html#parse">parse</a></li></ul></li><li><a href="SourceRegexpChecker.html">SourceRegexpChecker</a><ul class='methods'><li data-type='method'><a href="SourceRegexpChecker.html#match">match</a></li></ul></li><li><a href="StringFixCommand_StringFixCommand.html">StringFixCommand</a></li><li><a href="StringParser.html">StringParser</a><ul class='methods'><li data-type='method'><a href="StringParser.html#parse">parse</a></li><li data-type='method'><a href="StringParser.html#write">write</a></li></ul></li><li><a href="XliffParser.html">XliffParser</a><ul class='methods'><li data-type='method'><a href="XliffParser.html#parse">parse</a></li></ul></li></ul><h3>Interfaces</h3><ul><li><a href="ConfigurationProvider.html">ConfigurationProvider</a></li><li><a href="ConfigurationProvider_loadConfiguration.html">loadConfiguration</a></li><li><a href="FileConfigurationProvider_loadConfiguration.html">loadConfiguration</a></li><li><a href="FolderConfigurationProvider_loadConfiguration.html">loadConfiguration</a></li></ul><h3>Global</h3><ul><li><a href="global.html#DeclarativeRuleTypes">DeclarativeRuleTypes</a></li><li><a href="global.html#ResultComparator">ResultComparator</a></li><li><a href="global.html#concatIntlAstText">concatIntlAstText</a></li><li><a href="global.html#defaultConfiguration">defaultConfiguration</a></li><li><a href="global.html#typeMap">typeMap</a></li></ul>
|
|
32
|
+
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AnsiConsoleFormatter.html">AnsiConsoleFormatter</a><ul class='methods'><li data-type='method'><a href="AnsiConsoleFormatter.html#format">format</a></li></ul></li><li><a href="BuiltinPlugin.html">BuiltinPlugin</a><ul class='methods'><li data-type='method'><a href="BuiltinPlugin.html#getFormatters">getFormatters</a></li><li data-type='method'><a href="BuiltinPlugin.html#getParsers">getParsers</a></li><li data-type='method'><a href="BuiltinPlugin.html#getRuleSets">getRuleSets</a></li><li data-type='method'><a href="BuiltinPlugin.html#getRules">getRules</a></li></ul></li><li><a href="ConfigBasedFormatter.html">ConfigBasedFormatter</a><ul class='methods'><li data-type='method'><a href="ConfigBasedFormatter.html#format">format</a></li></ul></li><li><a href="DeclarativeResourceRule.html">DeclarativeResourceRule</a><ul class='methods'><li data-type='method'><a href="DeclarativeResourceRule.html#checkString">checkString</a></li><li data-type='method'><a href="DeclarativeResourceRule.html#matchString">matchString</a></li></ul></li><li><a href="DirItem.html">DirItem</a><ul class='methods'><li data-type='method'><a href="DirItem.html#findIssues">findIssues</a></li><li data-type='method'><a href="DirItem.html#getFilePath">getFilePath</a></li><li data-type='method'><a href="DirItem.html#parse">parse</a></li></ul></li><li><a href="FileConfigurationProvider.html">FileConfigurationProvider</a><ul class='methods'><li data-type='method'><a href="FileConfigurationProvider.html#loadJsConfiguration">loadJsConfiguration</a></li><li data-type='method'><a href="FileConfigurationProvider.html#loadJsonConfiguration">loadJsonConfiguration</a></li></ul></li><li><a href="FileType.html">FileType</a><ul class='methods'><li data-type='method'><a href="FileType.html#getParserClasses">getParserClasses</a></li><li data-type='method'><a href="FileType.html#getRuleSetNames">getRuleSetNames</a></li><li data-type='method'><a href="FileType.html#getRules">getRules</a></li></ul></li><li><a href="FixerManager.html">FixerManager</a><ul class='methods'><li data-type='method'><a href="FixerManager.html#add">add</a></li><li data-type='method'><a href="FixerManager.html#get">get</a></li><li data-type='method'><a href="FixerManager.html#size">size</a></li></ul></li><li><a href="FolderConfigurationProvider.html">FolderConfigurationProvider</a><ul class='methods'><li data-type='method'><a href="FolderConfigurationProvider.html#hasConfigurationFile">hasConfigurationFile</a></li></ul></li><li><a href="FormatterManager.html">FormatterManager</a><ul class='methods'><li data-type='method'><a href="FormatterManager.html#add">add</a></li><li data-type='method'><a href="FormatterManager.html#get">get</a></li><li data-type='method'><a href="FormatterManager.html#getDescriptions">getDescriptions</a></li><li data-type='method'><a href="FormatterManager.html#size">size</a></li></ul></li><li><a href="LineParser.html">LineParser</a><ul class='methods'><li data-type='method'><a href="LineParser.html#parse">parse</a></li></ul></li><li><a href="LineRegexpChecker.html">LineRegexpChecker</a><ul class='methods'><li data-type='method'><a href="LineRegexpChecker.html#match">match</a></li></ul></li><li><a href="LintableFile.html">LintableFile</a><ul class='methods'><li data-type='method'><a href="LintableFile.html#findIssues">findIssues</a></li><li data-type='method'><a href="LintableFile.html#getIRs">getIRs</a></li><li data-type='method'><a href="LintableFile.html#getLocaleFromPath">getLocaleFromPath</a></li><li data-type='method'><a href="LintableFile.html#getStats">getStats</a></li><li data-type='method'><a href="LintableFile.html#parse">parse</a></li></ul></li><li><a href="ParserManager.html">ParserManager</a><ul class='methods'><li data-type='method'><a href="ParserManager.html#add">add</a></li><li data-type='method'><a href="ParserManager.html#get">get</a></li><li data-type='method'><a href="ParserManager.html#getByName">getByName</a></li><li data-type='method'><a href="ParserManager.html#getDescriptions">getDescriptions</a></li></ul></li><li><a href="PluginManager.html">PluginManager</a><ul class='methods'><li data-type='method'><a href="PluginManager.html#add">add</a></li><li data-type='method'><a href="PluginManager.html#getFixerManager">getFixerManager</a></li><li data-type='method'><a href="PluginManager.html#getFormatterManager">getFormatterManager</a></li><li data-type='method'><a href="PluginManager.html#getParserManager">getParserManager</a></li><li data-type='method'><a href="PluginManager.html#getRuleManager">getRuleManager</a></li><li data-type='method'><a href="PluginManager.html#getRuleSet">getRuleSet</a></li><li data-type='method'><a href="PluginManager.html#load">load</a></li></ul></li><li><a href="Project.html">Project</a><ul class='methods'><li data-type='method'><a href="Project.html#add">add</a></li><li data-type='method'><a href="Project.html#findIssues">findIssues</a></li><li data-type='method'><a href="Project.html#get">get</a></li><li data-type='method'><a href="Project.html#getExcludes">getExcludes</a></li><li data-type='method'><a href="Project.html#getFileType">getFileType</a></li><li data-type='method'><a href="Project.html#getFileTypeForPath">getFileTypeForPath</a></li><li data-type='method'><a href="Project.html#getFixerManager">getFixerManager</a></li><li data-type='method'><a href="Project.html#getIncludes">getIncludes</a></li><li data-type='method'><a href="Project.html#getLocales">getLocales</a></li><li data-type='method'><a href="Project.html#getName">getName</a></li><li data-type='method'><a href="Project.html#getOptions">getOptions</a></li><li data-type='method'><a href="Project.html#getParserManager">getParserManager</a></li><li data-type='method'><a href="Project.html#getPluginManager">getPluginManager</a></li><li data-type='method'><a href="Project.html#getRoot">getRoot</a></li><li data-type='method'><a href="Project.html#getRuleManager">getRuleManager</a></li><li data-type='method'><a href="Project.html#getScore">getScore</a></li><li data-type='method'><a href="Project.html#getSourceLocale">getSourceLocale</a></li><li data-type='method'><a href="Project.html#init">init</a></li><li data-type='method'><a href="Project.html#run">run</a></li><li data-type='method'><a href="Project.html#scan">scan</a></li></ul></li><li><a href="ResourceCompleteness.html">ResourceCompleteness</a><ul class='methods'><li data-type='method'><a href="ResourceCompleteness.html#matchString">matchString</a></li></ul></li><li><a href="ResourceDNTTerms.html">ResourceDNTTerms</a><ul class='methods'><li data-type='method'><a href="ResourceDNTTerms.html#matchString">matchString</a></li><li data-type='method'><a href="ResourceDNTTerms.html#.parseTermsFromJsonFile">parseTermsFromJsonFile</a></li><li data-type='method'><a href="ResourceDNTTerms.html#.parseTermsFromTxtFile">parseTermsFromTxtFile</a></li></ul></li><li><a href="ResourceEdgeWhitespace.html">ResourceEdgeWhitespace</a><ul class='methods'><li data-type='method'><a href="ResourceEdgeWhitespace.html#matchString">matchString</a></li></ul></li><li><a href="ResourceICUPluralTranslation.html">ResourceICUPluralTranslation</a><ul class='methods'><li data-type='method'><a href="ResourceICUPluralTranslation.html#matchString">matchString</a></li></ul></li><li><a href="ResourceICUPlurals.html">ResourceICUPlurals</a></li><li><a href="ResourceMatcher.html">ResourceMatcher</a><ul class='methods'><li data-type='method'><a href="ResourceMatcher.html#checkString">checkString</a></li></ul></li><li><a href="ResourceNoTranslation.html">ResourceNoTranslation</a><ul class='methods'><li data-type='method'><a href="ResourceNoTranslation.html#matchString">matchString</a></li></ul></li><li><a href="ResourceQuoteStyle.html">ResourceQuoteStyle</a><ul class='methods'><li data-type='method'><a href="ResourceQuoteStyle.html#matchString">matchString</a></li></ul></li><li><a href="ResourceRule.html">ResourceRule</a><ul class='methods'><li data-type='method'><a href="ResourceRule.html#getRuleType">getRuleType</a></li><li data-type='method'><a href="ResourceRule.html#match">match</a></li><li data-type='method'><a href="ResourceRule.html#matchString">matchString</a></li></ul></li><li><a href="ResourceSourceChecker.html">ResourceSourceChecker</a><ul class='methods'><li data-type='method'><a href="ResourceSourceChecker.html#checkString">checkString</a></li></ul></li><li><a href="ResourceSourceICUPluralCategories.html">ResourceSourceICUPluralCategories</a><ul class='methods'><li data-type='method'><a href="ResourceSourceICUPluralCategories.html#matchString">matchString</a></li></ul></li><li><a href="ResourceSourceICUPluralParams.html">ResourceSourceICUPluralParams</a><ul class='methods'><li data-type='method'><a href="ResourceSourceICUPluralParams.html#matchString">matchString</a></li></ul></li><li><a href="ResourceSourceICUPluralSyntax.html">ResourceSourceICUPluralSyntax</a><ul class='methods'><li data-type='method'><a href="ResourceSourceICUPluralSyntax.html#matchString">matchString</a></li></ul></li><li><a href="ResourceSourceICUUnexplainedParams.html">ResourceSourceICUUnexplainedParams</a><ul class='methods'><li data-type='method'><a href="ResourceSourceICUUnexplainedParams.html#matchString">matchString</a></li></ul></li><li><a href="ResourceStateChecker.html">ResourceStateChecker</a><ul class='methods'><li data-type='method'><a href="ResourceStateChecker.html#match">match</a></li></ul></li><li><a href="ResourceTargetChecker.html">ResourceTargetChecker</a><ul class='methods'><li data-type='method'><a href="ResourceTargetChecker.html#checkString">checkString</a></li></ul></li><li><a href="ResourceUniqueKeys.html">ResourceUniqueKeys</a><ul class='methods'><li data-type='method'><a href="ResourceUniqueKeys.html#match">match</a></li></ul></li><li><a href="RuleManager.html">RuleManager</a><ul class='methods'><li data-type='method'><a href="RuleManager.html#add">add</a></li><li data-type='method'><a href="RuleManager.html#addRuleSetDefinition">addRuleSetDefinition</a></li><li data-type='method'><a href="RuleManager.html#addRuleSetDefinitions">addRuleSetDefinitions</a></li><li data-type='method'><a href="RuleManager.html#get">get</a></li><li data-type='method'><a href="RuleManager.html#getDescriptions">getDescriptions</a></li><li data-type='method'><a href="RuleManager.html#getRuleSetDefinition">getRuleSetDefinition</a></li><li data-type='method'><a href="RuleManager.html#getRuleSetDefinitions">getRuleSetDefinitions</a></li><li data-type='method'><a href="RuleManager.html#getRules">getRules</a></li><li data-type='method'><a href="RuleManager.html#size">size</a></li><li data-type='method'><a href="RuleManager.html#sizeRuleSetDefinitions">sizeRuleSetDefinitions</a></li></ul></li><li><a href="RuleSet.html">RuleSet</a><ul class='methods'><li data-type='method'><a href="RuleSet.html#add">add</a></li><li data-type='method'><a href="RuleSet.html#addRule">addRule</a></li><li data-type='method'><a href="RuleSet.html#getRule">getRule</a></li><li data-type='method'><a href="RuleSet.html#getRules">getRules</a></li><li data-type='method'><a href="RuleSet.html#getSize">getSize</a></li><li data-type='method'><a href="RuleSet.html#removeRule">removeRule</a></li></ul></li><li><a href="SourceRegexpChecker.html">SourceRegexpChecker</a><ul class='methods'><li data-type='method'><a href="SourceRegexpChecker.html#match">match</a></li></ul></li><li><a href="StringFixCommand_StringFixCommand.html">StringFixCommand</a></li><li><a href="StringParser.html">StringParser</a><ul class='methods'><li data-type='method'><a href="StringParser.html#parse">parse</a></li><li data-type='method'><a href="StringParser.html#write">write</a></li></ul></li><li><a href="XliffParser.html">XliffParser</a><ul class='methods'><li data-type='method'><a href="XliffParser.html#parse">parse</a></li></ul></li></ul><h3>Interfaces</h3><ul><li><a href="ConfigurationProvider.html">ConfigurationProvider</a></li><li><a href="ConfigurationProvider_loadConfiguration.html">loadConfiguration</a></li><li><a href="FileConfigurationProvider_loadConfiguration.html">loadConfiguration</a></li><li><a href="FolderConfigurationProvider_loadConfiguration.html">loadConfiguration</a></li></ul><h3>Global</h3><ul><li><a href="global.html#DeclarativeRuleTypes">DeclarativeRuleTypes</a></li><li><a href="global.html#ResultComparator">ResultComparator</a></li><li><a href="global.html#concatIntlAstText">concatIntlAstText</a></li><li><a href="global.html#defaultConfiguration">defaultConfiguration</a></li><li><a href="global.html#severity">severity</a></li><li><a href="global.html#typeMap">typeMap</a></li></ul>
|
|
33
33
|
|
|
34
34
|
</nav>
|
|
35
35
|
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
|
|
141
141
|
<dt class="tag-source">Source:</dt>
|
|
142
142
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
143
|
-
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#
|
|
143
|
+
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#line122">line 122</a>
|
|
144
144
|
</li></ul></dd>
|
|
145
145
|
|
|
146
146
|
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
|
|
205
205
|
<dt class="tag-source">Source:</dt>
|
|
206
206
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
207
|
-
<a href="config_default.js.html">config/default.js</a>, <a href="config_default.js.html#
|
|
207
|
+
<a href="config_default.js.html">config/default.js</a>, <a href="config_default.js.html#line21">line 21</a>
|
|
208
208
|
</li></ul></dd>
|
|
209
209
|
|
|
210
210
|
|
|
@@ -263,6 +263,77 @@
|
|
|
263
263
|
|
|
264
264
|
|
|
265
265
|
|
|
266
|
+
<h4 class="name" id="severity"><span class="type-signature"></span>severity<span class="type-signature"> :<a href="global.html#Severity">Severity</a></span></h4>
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
<dl class="details">
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
<dt class="tag-source">Source:</dt>
|
|
277
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
278
|
+
<a href="rules_ResourceQuoteStyle.js.html">rules/ResourceQuoteStyle.js</a>, <a href="rules_ResourceQuoteStyle.js.html#line184">line 184</a>
|
|
279
|
+
</li></ul></dd>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
</dl>
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
<h5 class="h5-types">Type:</h5>
|
|
320
|
+
<ul>
|
|
321
|
+
<li>
|
|
322
|
+
|
|
323
|
+
<span class="param-type"><a href="global.html#Severity">Severity</a></span>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
</li>
|
|
328
|
+
</ul>
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
266
337
|
<h4 class="name" id="typeMap"><span class="type-signature type-signature-constant">(constant) </span>typeMap<span class="type-signature"></span></h4>
|
|
267
338
|
|
|
268
339
|
|
|
@@ -643,7 +714,7 @@ and 0 if they are equal</td>
|
|
|
643
714
|
|
|
644
715
|
<dt class="tag-source">Source:</dt>
|
|
645
716
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
646
|
-
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#
|
|
717
|
+
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#line19">line 19</a>
|
|
647
718
|
</li></ul></dd>
|
|
648
719
|
|
|
649
720
|
|
|
@@ -1103,6 +1174,84 @@ and 0 if they are equal</td>
|
|
|
1103
1174
|
|
|
1104
1175
|
|
|
1105
1176
|
|
|
1177
|
+
<h4 class="name" id="Configuration">Configuration</h4>
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
<dl class="details">
|
|
1184
|
+
|
|
1185
|
+
<dt class="tag-description">Description:</dt>
|
|
1186
|
+
<dd class="tag-description"><ul class="dummy"><li>Parameters that can be set through rule configuration file.</li></ul></dd>
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
<dt class="tag-source">Source:</dt>
|
|
1191
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1192
|
+
<a href="rules_ResourceQuoteStyle.js.html">rules/ResourceQuoteStyle.js</a>, <a href="rules_ResourceQuoteStyle.js.html#line80">line 80</a>
|
|
1193
|
+
</li></ul></dd>
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
</dl>
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
<div class="description usertext">
|
|
1232
|
+
Parameters that can be set through rule configuration file.
|
|
1233
|
+
</div>
|
|
1234
|
+
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
<h5 class="h5-types">Type:</h5>
|
|
1238
|
+
<ul>
|
|
1239
|
+
<li>
|
|
1240
|
+
|
|
1241
|
+
<span class="param-type"><a href="global.html#Modes">Modes</a></span>
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
</li>
|
|
1246
|
+
</ul>
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1106
1255
|
<h4 class="name" id="DeclarativeFormatterDefinition">DeclarativeFormatterDefinition</h4>
|
|
1107
1256
|
|
|
1108
1257
|
|
|
@@ -1115,7 +1264,7 @@ and 0 if they are equal</td>
|
|
|
1115
1264
|
|
|
1116
1265
|
<dt class="tag-source">Source:</dt>
|
|
1117
1266
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1118
|
-
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#
|
|
1267
|
+
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#line56">line 56</a>
|
|
1119
1268
|
</li></ul></dd>
|
|
1120
1269
|
|
|
1121
1270
|
|
|
@@ -1329,7 +1478,7 @@ and 0 if they are equal</td>
|
|
|
1329
1478
|
|
|
1330
1479
|
<dt class="tag-source">Source:</dt>
|
|
1331
1480
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1332
|
-
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#
|
|
1481
|
+
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#line95">line 95</a>
|
|
1333
1482
|
</li></ul></dd>
|
|
1334
1483
|
|
|
1335
1484
|
|
|
@@ -1613,7 +1762,7 @@ and 0 if they are equal</td>
|
|
|
1613
1762
|
|
|
1614
1763
|
<dt class="tag-source">Source:</dt>
|
|
1615
1764
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1616
|
-
<a href="rules_ResourceDNTTerms.js.html">rules/ResourceDNTTerms.js</a>, <a href="rules_ResourceDNTTerms.js.html#
|
|
1765
|
+
<a href="rules_ResourceDNTTerms.js.html">rules/ResourceDNTTerms.js</a>, <a href="rules_ResourceDNTTerms.js.html#line40">line 40</a>
|
|
1617
1766
|
</li></ul></dd>
|
|
1618
1767
|
|
|
1619
1768
|
|
|
@@ -1725,7 +1874,7 @@ and 0 if they are equal</td>
|
|
|
1725
1874
|
|
|
1726
1875
|
|
|
1727
1876
|
|
|
1728
|
-
<h4 class="name" id="
|
|
1877
|
+
<h4 class="name" id="ExtendedRegExpCollection">ExtendedRegExpCollection</h4>
|
|
1729
1878
|
|
|
1730
1879
|
|
|
1731
1880
|
|
|
@@ -1737,7 +1886,7 @@ and 0 if they are equal</td>
|
|
|
1737
1886
|
|
|
1738
1887
|
<dt class="tag-source">Source:</dt>
|
|
1739
1888
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1740
|
-
<a href="
|
|
1889
|
+
<a href="rules_ResourceQuoteStyle.js.html">rules/ResourceQuoteStyle.js</a>, <a href="rules_ResourceQuoteStyle.js.html#line40">line 40</a>
|
|
1741
1890
|
</li></ul></dd>
|
|
1742
1891
|
|
|
1743
1892
|
|
|
@@ -1788,8 +1937,6 @@ and 0 if they are equal</td>
|
|
|
1788
1937
|
<th>Type</th>
|
|
1789
1938
|
|
|
1790
1939
|
|
|
1791
|
-
<th>Attributes</th>
|
|
1792
|
-
|
|
1793
1940
|
|
|
1794
1941
|
|
|
1795
1942
|
|
|
@@ -1802,13 +1949,13 @@ and 0 if they are equal</td>
|
|
|
1802
1949
|
|
|
1803
1950
|
<tr>
|
|
1804
1951
|
|
|
1805
|
-
<td class="name"><code>
|
|
1952
|
+
<td class="name"><code>quotesAll</code></td>
|
|
1806
1953
|
|
|
1807
1954
|
|
|
1808
1955
|
<td class="type">
|
|
1809
1956
|
|
|
1810
1957
|
|
|
1811
|
-
<span class="param-type">
|
|
1958
|
+
<span class="param-type">RegExp</span>
|
|
1812
1959
|
|
|
1813
1960
|
|
|
1814
1961
|
|
|
@@ -1816,32 +1963,47 @@ and 0 if they are equal</td>
|
|
|
1816
1963
|
</td>
|
|
1817
1964
|
|
|
1818
1965
|
|
|
1819
|
-
<td class="attributes">
|
|
1820
|
-
|
|
1821
1966
|
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
<td class="description last"></td>
|
|
1970
|
+
</tr>
|
|
1971
|
+
|
|
1972
|
+
|
|
1973
|
+
|
|
1974
|
+
<tr>
|
|
1975
|
+
|
|
1976
|
+
<td class="name"><code>quotesAllAlt</code></td>
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
<td class="type">
|
|
1980
|
+
|
|
1822
1981
|
|
|
1823
|
-
|
|
1982
|
+
<span class="param-type">RegExp</span>
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
|
|
1824
1986
|
|
|
1987
|
+
</td>
|
|
1825
1988
|
|
|
1826
1989
|
|
|
1827
1990
|
|
|
1828
|
-
|
|
1991
|
+
|
|
1992
|
+
|
|
1993
|
+
<td class="description last"></td>
|
|
1829
1994
|
</tr>
|
|
1830
1995
|
|
|
1831
1996
|
|
|
1832
1997
|
|
|
1833
1998
|
<tr>
|
|
1834
1999
|
|
|
1835
|
-
<td class="name"><code>
|
|
2000
|
+
<td class="name"><code>nonQuoteChars</code></td>
|
|
1836
2001
|
|
|
1837
2002
|
|
|
1838
2003
|
<td class="type">
|
|
1839
2004
|
|
|
1840
2005
|
|
|
1841
|
-
<span class="param-type">
|
|
1842
|
-
|
|
|
1843
|
-
|
|
1844
|
-
<span class="param-type">"txt"</span>
|
|
2006
|
+
<span class="param-type">string</span>
|
|
1845
2007
|
|
|
1846
2008
|
|
|
1847
2009
|
|
|
@@ -1849,18 +2011,34 @@ and 0 if they are equal</td>
|
|
|
1849
2011
|
</td>
|
|
1850
2012
|
|
|
1851
2013
|
|
|
1852
|
-
<td class="attributes">
|
|
1853
|
-
|
|
1854
|
-
<optional><br>
|
|
1855
|
-
|
|
1856
2014
|
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
<td class="description last"></td>
|
|
2018
|
+
</tr>
|
|
2019
|
+
|
|
2020
|
+
|
|
2021
|
+
|
|
2022
|
+
<tr>
|
|
2023
|
+
|
|
2024
|
+
<td class="name"><code>nonQuoteCharsAlt</code></td>
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
<td class="type">
|
|
2028
|
+
|
|
1857
2029
|
|
|
1858
|
-
|
|
2030
|
+
<span class="param-type">string</span>
|
|
2031
|
+
|
|
2032
|
+
|
|
2033
|
+
|
|
2034
|
+
|
|
2035
|
+
</td>
|
|
2036
|
+
|
|
1859
2037
|
|
|
1860
2038
|
|
|
1861
2039
|
|
|
1862
2040
|
|
|
1863
|
-
<td class="description last"
|
|
2041
|
+
<td class="description last"></td>
|
|
1864
2042
|
</tr>
|
|
1865
2043
|
|
|
1866
2044
|
|
|
@@ -1892,7 +2070,7 @@ and 0 if they are equal</td>
|
|
|
1892
2070
|
|
|
1893
2071
|
|
|
1894
2072
|
|
|
1895
|
-
<h4 class="name" id="
|
|
2073
|
+
<h4 class="name" id="FileTerms">FileTerms</h4>
|
|
1896
2074
|
|
|
1897
2075
|
|
|
1898
2076
|
|
|
@@ -1904,7 +2082,7 @@ and 0 if they are equal</td>
|
|
|
1904
2082
|
|
|
1905
2083
|
<dt class="tag-source">Source:</dt>
|
|
1906
2084
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1907
|
-
<a href="
|
|
2085
|
+
<a href="rules_ResourceDNTTerms.js.html">rules/ResourceDNTTerms.js</a>, <a href="rules_ResourceDNTTerms.js.html#line46">line 46</a>
|
|
1908
2086
|
</li></ul></dd>
|
|
1909
2087
|
|
|
1910
2088
|
|
|
@@ -1969,7 +2147,7 @@ and 0 if they are equal</td>
|
|
|
1969
2147
|
|
|
1970
2148
|
<tr>
|
|
1971
2149
|
|
|
1972
|
-
<td class="name"><code>
|
|
2150
|
+
<td class="name"><code>termsFilePath</code></td>
|
|
1973
2151
|
|
|
1974
2152
|
|
|
1975
2153
|
<td class="type">
|
|
@@ -1992,21 +2170,23 @@ and 0 if they are equal</td>
|
|
|
1992
2170
|
|
|
1993
2171
|
|
|
1994
2172
|
|
|
1995
|
-
<td class="description last">
|
|
1996
|
-
name for the locale of that file.</td>
|
|
2173
|
+
<td class="description last">Path to DNT terms file (either absolute or relative to current working directory)</td>
|
|
1997
2174
|
</tr>
|
|
1998
2175
|
|
|
1999
2176
|
|
|
2000
2177
|
|
|
2001
2178
|
<tr>
|
|
2002
2179
|
|
|
2003
|
-
<td class="name"><code>
|
|
2180
|
+
<td class="name"><code>termsFileType</code></td>
|
|
2004
2181
|
|
|
2005
2182
|
|
|
2006
2183
|
<td class="type">
|
|
2007
2184
|
|
|
2008
2185
|
|
|
2009
|
-
<span class="param-type">
|
|
2186
|
+
<span class="param-type">"json"</span>
|
|
2187
|
+
|
|
|
2188
|
+
|
|
2189
|
+
<span class="param-type">"txt"</span>
|
|
2010
2190
|
|
|
2011
2191
|
|
|
2012
2192
|
|
|
@@ -2025,51 +2205,706 @@ and 0 if they are equal</td>
|
|
|
2025
2205
|
|
|
2026
2206
|
|
|
2027
2207
|
|
|
2028
|
-
<td class="description last">
|
|
2029
|
-
locales list. If not specified, the file type uses the global set of
|
|
2030
|
-
locales.</td>
|
|
2208
|
+
<td class="description last">Determines how DNT file should be parsed - either as JSON or as TXT with one term per line</td>
|
|
2031
2209
|
</tr>
|
|
2032
2210
|
|
|
2033
2211
|
|
|
2212
|
+
</tbody>
|
|
2213
|
+
</table>
|
|
2034
2214
|
|
|
2035
|
-
<tr>
|
|
2036
|
-
|
|
2037
|
-
<td class="name"><code>ruleset</code></td>
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
<td class="type">
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
<span class="param-type">string</span>
|
|
2044
|
-
|
|
|
2045
2215
|
|
|
2046
|
-
<span class="param-type">Array.<string></span>
|
|
2047
|
-
|
|
|
2048
2216
|
|
|
2049
|
-
<span class="param-type"><a href="global.html#Ruleset">Ruleset</a></span>
|
|
2050
2217
|
|
|
2051
2218
|
|
|
2052
2219
|
|
|
2053
|
-
|
|
2054
|
-
</td>
|
|
2055
2220
|
|
|
2056
|
-
|
|
2057
|
-
<td class="attributes">
|
|
2058
|
-
|
|
2059
2221
|
|
|
2060
|
-
|
|
2061
|
-
|
|
2222
|
+
<h5 class="h5-types">Type:</h5>
|
|
2223
|
+
<ul>
|
|
2224
|
+
<li>
|
|
2062
2225
|
|
|
2226
|
+
<span class="param-type">object</span>
|
|
2063
2227
|
|
|
2064
|
-
|
|
2065
2228
|
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2229
|
+
|
|
2230
|
+
</li>
|
|
2231
|
+
</ul>
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
|
|
2236
|
+
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
|
|
2240
|
+
<h4 class="name" id="Filetype">Filetype</h4>
|
|
2241
|
+
|
|
2242
|
+
|
|
2243
|
+
|
|
2244
|
+
|
|
2245
|
+
|
|
2246
|
+
<dl class="details">
|
|
2247
|
+
|
|
2248
|
+
|
|
2249
|
+
|
|
2250
|
+
<dt class="tag-source">Source:</dt>
|
|
2251
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
2252
|
+
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#line80">line 80</a>
|
|
2253
|
+
</li></ul></dd>
|
|
2254
|
+
|
|
2255
|
+
|
|
2256
|
+
|
|
2257
|
+
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
|
|
2272
|
+
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
|
|
2276
|
+
|
|
2277
|
+
|
|
2278
|
+
|
|
2279
|
+
|
|
2280
|
+
|
|
2281
|
+
|
|
2282
|
+
|
|
2283
|
+
|
|
2284
|
+
|
|
2285
|
+
</dl>
|
|
2286
|
+
|
|
2287
|
+
|
|
2288
|
+
|
|
2289
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
2290
|
+
|
|
2291
|
+
|
|
2292
|
+
|
|
2293
|
+
<table class="props">
|
|
2294
|
+
<thead>
|
|
2295
|
+
<tr>
|
|
2296
|
+
|
|
2297
|
+
<th>Name</th>
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
<th>Type</th>
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
<th>Attributes</th>
|
|
2304
|
+
|
|
2305
|
+
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
<th class="last">Description</th>
|
|
2309
|
+
</tr>
|
|
2310
|
+
</thead>
|
|
2311
|
+
|
|
2312
|
+
<tbody>
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
<tr>
|
|
2316
|
+
|
|
2317
|
+
<td class="name"><code>template</code></td>
|
|
2318
|
+
|
|
2319
|
+
|
|
2320
|
+
<td class="type">
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
<span class="param-type">string</span>
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
|
|
2327
|
+
|
|
2328
|
+
</td>
|
|
2329
|
+
|
|
2330
|
+
|
|
2331
|
+
<td class="attributes">
|
|
2332
|
+
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
</td>
|
|
2336
|
+
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
|
|
2340
|
+
<td class="description last">A template that can be used to parse the file
|
|
2341
|
+
name for the locale of that file.</td>
|
|
2342
|
+
</tr>
|
|
2343
|
+
|
|
2344
|
+
|
|
2345
|
+
|
|
2346
|
+
<tr>
|
|
2347
|
+
|
|
2348
|
+
<td class="name"><code>locales</code></td>
|
|
2349
|
+
|
|
2350
|
+
|
|
2351
|
+
<td class="type">
|
|
2352
|
+
|
|
2353
|
+
|
|
2354
|
+
<span class="param-type">Array.<string></span>
|
|
2355
|
+
|
|
2356
|
+
|
|
2357
|
+
|
|
2358
|
+
|
|
2359
|
+
</td>
|
|
2360
|
+
|
|
2361
|
+
|
|
2362
|
+
<td class="attributes">
|
|
2363
|
+
|
|
2364
|
+
<optional><br>
|
|
2365
|
+
|
|
2366
|
+
|
|
2367
|
+
|
|
2368
|
+
</td>
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
|
|
2372
|
+
|
|
2373
|
+
<td class="description last">A set of locales that override the global
|
|
2374
|
+
locales list. If not specified, the file type uses the global set of
|
|
2375
|
+
locales.</td>
|
|
2376
|
+
</tr>
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
|
|
2380
|
+
<tr>
|
|
2381
|
+
|
|
2382
|
+
<td class="name"><code>ruleset</code></td>
|
|
2383
|
+
|
|
2384
|
+
|
|
2385
|
+
<td class="type">
|
|
2386
|
+
|
|
2387
|
+
|
|
2388
|
+
<span class="param-type">string</span>
|
|
2389
|
+
|
|
|
2390
|
+
|
|
2391
|
+
<span class="param-type">Array.<string></span>
|
|
2392
|
+
|
|
|
2393
|
+
|
|
2394
|
+
<span class="param-type"><a href="global.html#Ruleset">Ruleset</a></span>
|
|
2395
|
+
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
|
|
2399
|
+
</td>
|
|
2400
|
+
|
|
2401
|
+
|
|
2402
|
+
<td class="attributes">
|
|
2403
|
+
|
|
2404
|
+
|
|
2405
|
+
|
|
2406
|
+
</td>
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
|
|
2411
|
+
<td class="description last">Name the rule set or list of
|
|
2412
|
+
rule sets to use with files of this type if the value is a string or an
|
|
2413
|
+
array of strings. When the value is a list of strings, the rules are a
|
|
2414
|
+
superset of all of the rules in the named rule sets. If the value is an
|
|
2415
|
+
object, then it is considered to be an on-the-fly unnamed rule set defined
|
|
2416
|
+
directly.</td>
|
|
2417
|
+
</tr>
|
|
2418
|
+
|
|
2419
|
+
|
|
2420
|
+
</tbody>
|
|
2421
|
+
</table>
|
|
2422
|
+
|
|
2423
|
+
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
<h4 class="name" id="FixerClass">FixerClass</h4>
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
<dl class="details">
|
|
2444
|
+
|
|
2445
|
+
<dt class="tag-description">Description:</dt>
|
|
2446
|
+
<dd class="tag-description"><ul class="dummy"><li>Constructor of Fixer or its subclass</li></ul></dd>
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
|
|
2450
|
+
<dt class="tag-source">Source:</dt>
|
|
2451
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
2452
|
+
<a href="FixerManager.js.html">FixerManager.js</a>, <a href="FixerManager.js.html#line26">line 26</a>
|
|
2453
|
+
</li></ul></dd>
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
|
|
2477
|
+
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
|
|
2482
|
+
|
|
2483
|
+
|
|
2484
|
+
|
|
2485
|
+
</dl>
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
|
|
2491
|
+
<div class="description usertext">
|
|
2492
|
+
Constructor of Fixer or its subclass
|
|
2493
|
+
</div>
|
|
2494
|
+
|
|
2495
|
+
|
|
2496
|
+
|
|
2497
|
+
<h5 class="h5-types">Type:</h5>
|
|
2498
|
+
<ul>
|
|
2499
|
+
<li>
|
|
2500
|
+
|
|
2501
|
+
<span class="param-type">Class</span>
|
|
2502
|
+
|
|
2503
|
+
|
|
2504
|
+
|
|
2505
|
+
</li>
|
|
2506
|
+
</ul>
|
|
2507
|
+
|
|
2508
|
+
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
|
|
2514
|
+
|
|
2515
|
+
<h4 class="name" id="FixerRegistry">FixerRegistry</h4>
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
|
|
2519
|
+
|
|
2520
|
+
|
|
2521
|
+
<dl class="details">
|
|
2522
|
+
|
|
2523
|
+
|
|
2524
|
+
|
|
2525
|
+
<dt class="tag-source">Source:</dt>
|
|
2526
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
2527
|
+
<a href="FixerManager.js.html">FixerManager.js</a>, <a href="FixerManager.js.html#line34">line 34</a>
|
|
2528
|
+
</li></ul></dd>
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
|
|
2534
|
+
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
|
|
2558
|
+
|
|
2559
|
+
|
|
2560
|
+
</dl>
|
|
2561
|
+
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
|
|
2568
|
+
<h5 class="h5-types">Type:</h5>
|
|
2569
|
+
<ul>
|
|
2570
|
+
<li>
|
|
2571
|
+
|
|
2572
|
+
<span class="param-type">Object.<string, <a href="global.html#RegisteredFixerEntry">RegisteredFixerEntry</a>></span>
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
|
|
2576
|
+
</li>
|
|
2577
|
+
</ul>
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
|
|
2585
|
+
|
|
2586
|
+
<h4 class="name" id="ModeLocaleOnly">ModeLocaleOnly</h4>
|
|
2587
|
+
|
|
2588
|
+
|
|
2589
|
+
|
|
2590
|
+
|
|
2591
|
+
|
|
2592
|
+
<dl class="details">
|
|
2593
|
+
|
|
2594
|
+
<dt class="tag-description">Description:</dt>
|
|
2595
|
+
<dd class="tag-description"><ul class="dummy"><li>Allow only localized quotes in the target string. This also sets default result severity to "error".</li></ul></dd>
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
|
|
2599
|
+
<dt class="tag-source">Source:</dt>
|
|
2600
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
2601
|
+
<a href="rules_ResourceQuoteStyle.js.html">rules/ResourceQuoteStyle.js</a>, <a href="rules_ResourceQuoteStyle.js.html#line62">line 62</a>
|
|
2602
|
+
</li></ul></dd>
|
|
2603
|
+
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
|
|
2607
|
+
|
|
2608
|
+
|
|
2609
|
+
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
</dl>
|
|
2635
|
+
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
<div class="description usertext">
|
|
2641
|
+
Allow only localized quotes in the target string. This also sets default result severity to "error".
|
|
2642
|
+
</div>
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
<h5 class="h5-types">Type:</h5>
|
|
2647
|
+
<ul>
|
|
2648
|
+
<li>
|
|
2649
|
+
|
|
2650
|
+
<span class="param-type">"localeOnly"</span>
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
</li>
|
|
2655
|
+
</ul>
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
|
|
2659
|
+
|
|
2660
|
+
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
|
|
2664
|
+
<h4 class="name" id="Modes">Modes</h4>
|
|
2665
|
+
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
|
|
2669
|
+
|
|
2670
|
+
<dl class="details">
|
|
2671
|
+
|
|
2672
|
+
<dt class="tag-description">Description:</dt>
|
|
2673
|
+
<dd class="tag-description"><ul class="dummy"><li>One-param rule configuration.</li></ul></dd>
|
|
2674
|
+
|
|
2675
|
+
|
|
2676
|
+
|
|
2677
|
+
<dt class="tag-source">Source:</dt>
|
|
2678
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
2679
|
+
<a href="rules_ResourceQuoteStyle.js.html">rules/ResourceQuoteStyle.js</a>, <a href="rules_ResourceQuoteStyle.js.html#line74">line 74</a>
|
|
2680
|
+
</li></ul></dd>
|
|
2681
|
+
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
|
|
2712
|
+
</dl>
|
|
2713
|
+
|
|
2714
|
+
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
|
|
2718
|
+
<div class="description usertext">
|
|
2719
|
+
One-param rule configuration.
|
|
2720
|
+
</div>
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
<h5 class="h5-types">Type:</h5>
|
|
2725
|
+
<ul>
|
|
2726
|
+
<li>
|
|
2727
|
+
|
|
2728
|
+
<span class="param-type"><a href="global.html#ModeLocaleOnly">ModeLocaleOnly</a></span>
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
</li>
|
|
2733
|
+
</ul>
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
|
|
2741
|
+
|
|
2742
|
+
<h4 class="name" id="RegExpCollectionForLocale">RegExpCollectionForLocale</h4>
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
<dl class="details">
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
<dt class="tag-source">Source:</dt>
|
|
2753
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
2754
|
+
<a href="rules_ResourceQuoteStyle.js.html">rules/ResourceQuoteStyle.js</a>, <a href="rules_ResourceQuoteStyle.js.html#line51">line 51</a>
|
|
2755
|
+
</li></ul></dd>
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
</dl>
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
<table class="props">
|
|
2796
|
+
<thead>
|
|
2797
|
+
<tr>
|
|
2798
|
+
|
|
2799
|
+
<th>Name</th>
|
|
2800
|
+
|
|
2801
|
+
|
|
2802
|
+
<th>Type</th>
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
<th class="last">Description</th>
|
|
2809
|
+
</tr>
|
|
2810
|
+
</thead>
|
|
2811
|
+
|
|
2812
|
+
<tbody>
|
|
2813
|
+
|
|
2814
|
+
|
|
2815
|
+
<tr>
|
|
2816
|
+
|
|
2817
|
+
<td class="name"><code>quotesAscii</code></td>
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
<td class="type">
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
<span class="param-type">RegExp</span>
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
</td>
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
<td class="description last"></td>
|
|
2835
|
+
</tr>
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
<tr>
|
|
2840
|
+
|
|
2841
|
+
<td class="name"><code>quotesAsciiAlt</code></td>
|
|
2842
|
+
|
|
2843
|
+
|
|
2844
|
+
<td class="type">
|
|
2845
|
+
|
|
2846
|
+
|
|
2847
|
+
<span class="param-type">RegExp</span>
|
|
2848
|
+
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
</td>
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
|
|
2856
|
+
|
|
2857
|
+
|
|
2858
|
+
<td class="description last"></td>
|
|
2859
|
+
</tr>
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
|
|
2863
|
+
<tr>
|
|
2864
|
+
|
|
2865
|
+
<td class="name"><code>source</code></td>
|
|
2866
|
+
|
|
2867
|
+
|
|
2868
|
+
<td class="type">
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
<span class="param-type"><a href="global.html#SourceRegExpCollection">SourceRegExpCollection</a></span>
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
</td>
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
<td class="description last"></td>
|
|
2883
|
+
</tr>
|
|
2884
|
+
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
<tr>
|
|
2888
|
+
|
|
2889
|
+
<td class="name"><code>target</code></td>
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
<td class="type">
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
<span class="param-type">TargetRegExpCollection</span>
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
</td>
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
<td class="description last"></td>
|
|
2907
|
+
</tr>
|
|
2073
2908
|
|
|
2074
2909
|
|
|
2075
2910
|
</tbody>
|
|
@@ -2082,6 +2917,17 @@ and 0 if they are equal</td>
|
|
|
2082
2917
|
|
|
2083
2918
|
|
|
2084
2919
|
|
|
2920
|
+
<h5 class="h5-types">Type:</h5>
|
|
2921
|
+
<ul>
|
|
2922
|
+
<li>
|
|
2923
|
+
|
|
2924
|
+
<span class="param-type">object</span>
|
|
2925
|
+
|
|
2926
|
+
|
|
2927
|
+
|
|
2928
|
+
</li>
|
|
2929
|
+
</ul>
|
|
2930
|
+
|
|
2085
2931
|
|
|
2086
2932
|
|
|
2087
2933
|
|
|
@@ -2089,7 +2935,7 @@ and 0 if they are equal</td>
|
|
|
2089
2935
|
|
|
2090
2936
|
|
|
2091
2937
|
|
|
2092
|
-
<h4 class="name" id="
|
|
2938
|
+
<h4 class="name" id="RegisteredFixerEntry">RegisteredFixerEntry</h4>
|
|
2093
2939
|
|
|
2094
2940
|
|
|
2095
2941
|
|
|
@@ -2097,14 +2943,11 @@ and 0 if they are equal</td>
|
|
|
2097
2943
|
|
|
2098
2944
|
<dl class="details">
|
|
2099
2945
|
|
|
2100
|
-
<dt class="tag-description">Description:</dt>
|
|
2101
|
-
<dd class="tag-description"><ul class="dummy"><li>Constructor of Fixer or its subclass</li></ul></dd>
|
|
2102
|
-
|
|
2103
2946
|
|
|
2104
2947
|
|
|
2105
2948
|
<dt class="tag-source">Source:</dt>
|
|
2106
2949
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2107
|
-
<a href="FixerManager.js.html">FixerManager.js</a>, <a href="FixerManager.js.html#
|
|
2950
|
+
<a href="FixerManager.js.html">FixerManager.js</a>, <a href="FixerManager.js.html#line27">line 27</a>
|
|
2108
2951
|
</li></ul></dd>
|
|
2109
2952
|
|
|
2110
2953
|
|
|
@@ -2141,11 +2984,84 @@ and 0 if they are equal</td>
|
|
|
2141
2984
|
|
|
2142
2985
|
|
|
2143
2986
|
|
|
2987
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
|
|
2991
|
+
<table class="props">
|
|
2992
|
+
<thead>
|
|
2993
|
+
<tr>
|
|
2994
|
+
|
|
2995
|
+
<th>Name</th>
|
|
2996
|
+
|
|
2997
|
+
|
|
2998
|
+
<th>Type</th>
|
|
2999
|
+
|
|
3000
|
+
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
|
|
3004
|
+
<th class="last">Description</th>
|
|
3005
|
+
</tr>
|
|
3006
|
+
</thead>
|
|
3007
|
+
|
|
3008
|
+
<tbody>
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
<tr>
|
|
3012
|
+
|
|
3013
|
+
<td class="name"><code>name</code></td>
|
|
3014
|
+
|
|
3015
|
+
|
|
3016
|
+
<td class="type">
|
|
3017
|
+
|
|
3018
|
+
|
|
3019
|
+
<span class="param-type">string</span>
|
|
3020
|
+
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
</td>
|
|
3025
|
+
|
|
3026
|
+
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
<td class="description last"></td>
|
|
3031
|
+
</tr>
|
|
3032
|
+
|
|
3033
|
+
|
|
3034
|
+
|
|
3035
|
+
<tr>
|
|
3036
|
+
|
|
3037
|
+
<td class="name"><code>class</code></td>
|
|
3038
|
+
|
|
3039
|
+
|
|
3040
|
+
<td class="type">
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
<span class="param-type"><a href="global.html#FixerClass">FixerClass</a></span>
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
</td>
|
|
3049
|
+
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
|
|
3053
|
+
|
|
3054
|
+
<td class="description last">Subclass of the Fixer (class, not an instance)</td>
|
|
3055
|
+
</tr>
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
</tbody>
|
|
3059
|
+
</table>
|
|
3060
|
+
|
|
3061
|
+
|
|
3062
|
+
|
|
2144
3063
|
|
|
2145
3064
|
|
|
2146
|
-
<div class="description usertext">
|
|
2147
|
-
Constructor of Fixer or its subclass
|
|
2148
|
-
</div>
|
|
2149
3065
|
|
|
2150
3066
|
|
|
2151
3067
|
|
|
@@ -2153,7 +3069,7 @@ and 0 if they are equal</td>
|
|
|
2153
3069
|
<ul>
|
|
2154
3070
|
<li>
|
|
2155
3071
|
|
|
2156
|
-
<span class="param-type">
|
|
3072
|
+
<span class="param-type">object</span>
|
|
2157
3073
|
|
|
2158
3074
|
|
|
2159
3075
|
|
|
@@ -2167,7 +3083,7 @@ and 0 if they are equal</td>
|
|
|
2167
3083
|
|
|
2168
3084
|
|
|
2169
3085
|
|
|
2170
|
-
<h4 class="name" id="
|
|
3086
|
+
<h4 class="name" id="Ruleset">Ruleset</h4>
|
|
2171
3087
|
|
|
2172
3088
|
|
|
2173
3089
|
|
|
@@ -2175,11 +3091,20 @@ and 0 if they are equal</td>
|
|
|
2175
3091
|
|
|
2176
3092
|
<dl class="details">
|
|
2177
3093
|
|
|
3094
|
+
<dt class="tag-description">Description:</dt>
|
|
3095
|
+
<dd class="tag-description"><ul class="dummy"><li>Some rules can be shared between file
|
|
3096
|
+
types and others are more specific to the file type. As such, it is
|
|
3097
|
+
sometimes convenient to to name a set of rules and refer to the whole set
|
|
3098
|
+
by its name instead of listing them all out. Ruleset is an object that
|
|
3099
|
+
configures each rule that should be included in that set. The rules are
|
|
3100
|
+
turned on with a value "true" or with a rule-specific option. They are
|
|
3101
|
+
turned off with a falsy value.</li></ul></dd>
|
|
3102
|
+
|
|
2178
3103
|
|
|
2179
3104
|
|
|
2180
3105
|
<dt class="tag-source">Source:</dt>
|
|
2181
3106
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2182
|
-
<a href="
|
|
3107
|
+
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#line70">line 70</a>
|
|
2183
3108
|
</li></ul></dd>
|
|
2184
3109
|
|
|
2185
3110
|
|
|
@@ -2218,13 +3143,23 @@ and 0 if they are equal</td>
|
|
|
2218
3143
|
|
|
2219
3144
|
|
|
2220
3145
|
|
|
3146
|
+
<div class="description usertext">
|
|
3147
|
+
Some rules can be shared between file
|
|
3148
|
+
types and others are more specific to the file type. As such, it is
|
|
3149
|
+
sometimes convenient to to name a set of rules and refer to the whole set
|
|
3150
|
+
by its name instead of listing them all out. Ruleset is an object that
|
|
3151
|
+
configures each rule that should be included in that set. The rules are
|
|
3152
|
+
turned on with a value "true" or with a rule-specific option. They are
|
|
3153
|
+
turned off with a falsy value.
|
|
3154
|
+
</div>
|
|
3155
|
+
|
|
2221
3156
|
|
|
2222
3157
|
|
|
2223
3158
|
<h5 class="h5-types">Type:</h5>
|
|
2224
3159
|
<ul>
|
|
2225
3160
|
<li>
|
|
2226
3161
|
|
|
2227
|
-
<span class="param-type">
|
|
3162
|
+
<span class="param-type">Record.<string, any></span>
|
|
2228
3163
|
|
|
2229
3164
|
|
|
2230
3165
|
|
|
@@ -2238,7 +3173,7 @@ and 0 if they are equal</td>
|
|
|
2238
3173
|
|
|
2239
3174
|
|
|
2240
3175
|
|
|
2241
|
-
<h4 class="name" id="
|
|
3176
|
+
<h4 class="name" id="Severity">Severity</h4>
|
|
2242
3177
|
|
|
2243
3178
|
|
|
2244
3179
|
|
|
@@ -2247,13 +3182,13 @@ and 0 if they are equal</td>
|
|
|
2247
3182
|
<dl class="details">
|
|
2248
3183
|
|
|
2249
3184
|
<dt class="tag-description">Description:</dt>
|
|
2250
|
-
<dd class="tag-description"><ul class="dummy"><li>
|
|
3185
|
+
<dd class="tag-description"><ul class="dummy"><li>Result severity.</li></ul></dd>
|
|
2251
3186
|
|
|
2252
3187
|
|
|
2253
3188
|
|
|
2254
3189
|
<dt class="tag-source">Source:</dt>
|
|
2255
3190
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2256
|
-
<a href="
|
|
3191
|
+
<a href="rules_ResourceQuoteStyle.js.html">rules/ResourceQuoteStyle.js</a>, <a href="rules_ResourceQuoteStyle.js.html#line68">line 68</a>
|
|
2257
3192
|
</li></ul></dd>
|
|
2258
3193
|
|
|
2259
3194
|
|
|
@@ -2293,7 +3228,7 @@ and 0 if they are equal</td>
|
|
|
2293
3228
|
|
|
2294
3229
|
|
|
2295
3230
|
<div class="description usertext">
|
|
2296
|
-
|
|
3231
|
+
Result severity.
|
|
2297
3232
|
</div>
|
|
2298
3233
|
|
|
2299
3234
|
|
|
@@ -2302,7 +3237,13 @@ and 0 if they are equal</td>
|
|
|
2302
3237
|
<ul>
|
|
2303
3238
|
<li>
|
|
2304
3239
|
|
|
2305
|
-
<span class="param-type">
|
|
3240
|
+
<span class="param-type">"error"</span>
|
|
3241
|
+
|
|
|
3242
|
+
|
|
3243
|
+
<span class="param-type">"warning"</span>
|
|
3244
|
+
|
|
|
3245
|
+
|
|
3246
|
+
<span class="param-type">"suggestion"</span>
|
|
2306
3247
|
|
|
2307
3248
|
|
|
2308
3249
|
|
|
@@ -2316,7 +3257,7 @@ and 0 if they are equal</td>
|
|
|
2316
3257
|
|
|
2317
3258
|
|
|
2318
3259
|
|
|
2319
|
-
<h4 class="name" id="
|
|
3260
|
+
<h4 class="name" id="SourceRegExpCollection">SourceRegExpCollection</h4>
|
|
2320
3261
|
|
|
2321
3262
|
|
|
2322
3263
|
|
|
@@ -2328,7 +3269,7 @@ and 0 if they are equal</td>
|
|
|
2328
3269
|
|
|
2329
3270
|
<dt class="tag-source">Source:</dt>
|
|
2330
3271
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2331
|
-
<a href="
|
|
3272
|
+
<a href="rules_ResourceQuoteStyle.js.html">rules/ResourceQuoteStyle.js</a>, <a href="rules_ResourceQuoteStyle.js.html#line27">line 27</a>
|
|
2332
3273
|
</li></ul></dd>
|
|
2333
3274
|
|
|
2334
3275
|
|
|
@@ -2391,7 +3332,7 @@ and 0 if they are equal</td>
|
|
|
2391
3332
|
|
|
2392
3333
|
<tr>
|
|
2393
3334
|
|
|
2394
|
-
<td class="name"><code>
|
|
3335
|
+
<td class="name"><code>quoteStart</code></td>
|
|
2395
3336
|
|
|
2396
3337
|
|
|
2397
3338
|
<td class="type">
|
|
@@ -2415,13 +3356,13 @@ and 0 if they are equal</td>
|
|
|
2415
3356
|
|
|
2416
3357
|
<tr>
|
|
2417
3358
|
|
|
2418
|
-
<td class="name"><code>
|
|
3359
|
+
<td class="name"><code>quoteStartAlt</code></td>
|
|
2419
3360
|
|
|
2420
3361
|
|
|
2421
3362
|
<td class="type">
|
|
2422
3363
|
|
|
2423
3364
|
|
|
2424
|
-
<span class="param-type"
|
|
3365
|
+
<span class="param-type">string</span>
|
|
2425
3366
|
|
|
2426
3367
|
|
|
2427
3368
|
|
|
@@ -2432,107 +3373,113 @@ and 0 if they are equal</td>
|
|
|
2432
3373
|
|
|
2433
3374
|
|
|
2434
3375
|
|
|
2435
|
-
<td class="description last"
|
|
3376
|
+
<td class="description last"></td>
|
|
2436
3377
|
</tr>
|
|
2437
3378
|
|
|
2438
3379
|
|
|
2439
|
-
</tbody>
|
|
2440
|
-
</table>
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
3380
|
|
|
3381
|
+
<tr>
|
|
3382
|
+
|
|
3383
|
+
<td class="name"><code>quoteEnd</code></td>
|
|
3384
|
+
|
|
2444
3385
|
|
|
3386
|
+
<td class="type">
|
|
3387
|
+
|
|
3388
|
+
|
|
3389
|
+
<span class="param-type">string</span>
|
|
2445
3390
|
|
|
2446
3391
|
|
|
2447
3392
|
|
|
3393
|
+
|
|
3394
|
+
</td>
|
|
2448
3395
|
|
|
2449
|
-
<h5 class="h5-types">Type:</h5>
|
|
2450
|
-
<ul>
|
|
2451
|
-
<li>
|
|
2452
3396
|
|
|
2453
|
-
<span class="param-type">object</span>
|
|
2454
3397
|
|
|
3398
|
+
|
|
2455
3399
|
|
|
3400
|
+
<td class="description last"></td>
|
|
3401
|
+
</tr>
|
|
2456
3402
|
|
|
2457
|
-
|
|
2458
|
-
</ul>
|
|
3403
|
+
|
|
2459
3404
|
|
|
3405
|
+
<tr>
|
|
3406
|
+
|
|
3407
|
+
<td class="name"><code>quoteEndAlt</code></td>
|
|
3408
|
+
|
|
2460
3409
|
|
|
3410
|
+
<td class="type">
|
|
3411
|
+
|
|
3412
|
+
|
|
3413
|
+
<span class="param-type">string</span>
|
|
2461
3414
|
|
|
2462
3415
|
|
|
2463
3416
|
|
|
3417
|
+
|
|
3418
|
+
</td>
|
|
2464
3419
|
|
|
2465
3420
|
|
|
2466
|
-
|
|
2467
|
-
<h4 class="name" id="Ruleset">Ruleset</h4>
|
|
2468
3421
|
|
|
3422
|
+
|
|
2469
3423
|
|
|
3424
|
+
<td class="description last"></td>
|
|
3425
|
+
</tr>
|
|
2470
3426
|
|
|
3427
|
+
|
|
2471
3428
|
|
|
3429
|
+
<tr>
|
|
3430
|
+
|
|
3431
|
+
<td class="name"><code>quotesNative</code></td>
|
|
3432
|
+
|
|
2472
3433
|
|
|
2473
|
-
<
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
types and others are more specific to the file type. As such, it is
|
|
2478
|
-
sometimes convenient to to name a set of rules and refer to the whole set
|
|
2479
|
-
by its name instead of listing them all out. Ruleset is an object that
|
|
2480
|
-
configures each rule that should be included in that set. The rules are
|
|
2481
|
-
turned on with a value "true" or with a rule-specific option. They are
|
|
2482
|
-
turned off with a falsy value.</li></ul></dd>
|
|
2483
|
-
|
|
3434
|
+
<td class="type">
|
|
3435
|
+
|
|
3436
|
+
|
|
3437
|
+
<span class="param-type">RegExp</span>
|
|
2484
3438
|
|
|
2485
|
-
|
|
2486
|
-
<dt class="tag-source">Source:</dt>
|
|
2487
|
-
<dd class="tag-source"><ul class="dummy"><li>
|
|
2488
|
-
<a href="config_Configuration.js.html">config/Configuration.js</a>, <a href="config_Configuration.js.html#line52">line 52</a>
|
|
2489
|
-
</li></ul></dd>
|
|
2490
|
-
|
|
2491
3439
|
|
|
2492
|
-
|
|
2493
3440
|
|
|
2494
|
-
|
|
3441
|
+
|
|
3442
|
+
</td>
|
|
2495
3443
|
|
|
2496
|
-
|
|
3444
|
+
|
|
2497
3445
|
|
|
2498
|
-
|
|
3446
|
+
|
|
2499
3447
|
|
|
2500
|
-
|
|
3448
|
+
<td class="description last"></td>
|
|
3449
|
+
</tr>
|
|
2501
3450
|
|
|
2502
3451
|
|
|
2503
3452
|
|
|
2504
|
-
|
|
3453
|
+
<tr>
|
|
3454
|
+
|
|
3455
|
+
<td class="name"><code>quotesNativeAlt</code></td>
|
|
3456
|
+
|
|
2505
3457
|
|
|
2506
|
-
|
|
3458
|
+
<td class="type">
|
|
3459
|
+
|
|
3460
|
+
|
|
3461
|
+
<span class="param-type">RegExp</span>
|
|
2507
3462
|
|
|
2508
|
-
|
|
2509
3463
|
|
|
2510
|
-
|
|
2511
3464
|
|
|
2512
|
-
|
|
3465
|
+
|
|
3466
|
+
</td>
|
|
2513
3467
|
|
|
2514
|
-
|
|
3468
|
+
|
|
2515
3469
|
|
|
2516
|
-
|
|
3470
|
+
|
|
2517
3471
|
|
|
2518
|
-
|
|
3472
|
+
<td class="description last"></td>
|
|
3473
|
+
</tr>
|
|
2519
3474
|
|
|
2520
3475
|
|
|
2521
|
-
</
|
|
3476
|
+
</tbody>
|
|
3477
|
+
</table>
|
|
2522
3478
|
|
|
2523
3479
|
|
|
2524
3480
|
|
|
2525
3481
|
|
|
2526
3482
|
|
|
2527
|
-
<div class="description usertext">
|
|
2528
|
-
Some rules can be shared between file
|
|
2529
|
-
types and others are more specific to the file type. As such, it is
|
|
2530
|
-
sometimes convenient to to name a set of rules and refer to the whole set
|
|
2531
|
-
by its name instead of listing them all out. Ruleset is an object that
|
|
2532
|
-
configures each rule that should be included in that set. The rules are
|
|
2533
|
-
turned on with a value "true" or with a rule-specific option. They are
|
|
2534
|
-
turned off with a falsy value.
|
|
2535
|
-
</div>
|
|
2536
3483
|
|
|
2537
3484
|
|
|
2538
3485
|
|
|
@@ -2540,7 +3487,7 @@ and 0 if they are equal</td>
|
|
|
2540
3487
|
<ul>
|
|
2541
3488
|
<li>
|
|
2542
3489
|
|
|
2543
|
-
<span class="param-type">
|
|
3490
|
+
<span class="param-type">object</span>
|
|
2544
3491
|
|
|
2545
3492
|
|
|
2546
3493
|
|
|
@@ -2570,7 +3517,7 @@ and 0 if they are equal</td>
|
|
|
2570
3517
|
<br class="clear">
|
|
2571
3518
|
|
|
2572
3519
|
<footer>
|
|
2573
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.
|
|
3520
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Tue Jul 09 2024 11:26:16 GMT-0700 (Pacific Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
2574
3521
|
</footer>
|
|
2575
3522
|
|
|
2576
3523
|
<script>prettyPrint();</script>
|