Class AbstractChecks
- java.lang.Object
-
- org.sonar.plugins.javascript.eslint.AbstractChecks
-
- Direct Known Subclasses:
JavaScriptChecks
,TypeScriptChecks
public class AbstractChecks extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractChecks(org.sonar.api.batch.rule.CheckFactory checkFactory, CustomRuleRepository[] customRuleRepositories)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addChecks(CustomRuleRepository.Language language, String repositoryKey, Iterable<Class<? extends JavaScriptCheck>> checkClass)
protected void
initParsingErrorRuleKey()
org.sonar.api.rule.RuleKey
ruleKeyByEslintKey(String eslintKey)
org.sonar.api.rule.RuleKey
ruleKeyFor(JavaScriptCheck check)
-
-
-
Constructor Detail
-
AbstractChecks
public AbstractChecks(org.sonar.api.batch.rule.CheckFactory checkFactory, @Nullable CustomRuleRepository[] customRuleRepositories)
-
-
Method Detail
-
addChecks
protected void addChecks(CustomRuleRepository.Language language, String repositoryKey, Iterable<Class<? extends JavaScriptCheck>> checkClass)
-
ruleKeyFor
@Nullable public org.sonar.api.rule.RuleKey ruleKeyFor(JavaScriptCheck check)
-
ruleKeyByEslintKey
@Nullable public org.sonar.api.rule.RuleKey ruleKeyByEslintKey(String eslintKey)
-
initParsingErrorRuleKey
protected void initParsingErrorRuleKey()
-
-