use of com.scss.settings.Settings in project scss-lint-plugin by idok.
the class ScssLintTest method doTest.
private void doTest(final String file) {
Project project = myFixture.getProject();
Settings settings = Settings.getInstance(project);
// settings.scssLintExecutable = ScssLintRunnerTest.SCSS_LINT_BIN;
// settings.scssLintConfigFile = getTestDataPath() + "/.eslintrc";
// settings.nodeInterpreter = ScssLintRunnerTest.SCSS_EXE;
// settings.rulesPath = "";
settings.pluginEnabled = true;
myFixture.configureByFile(file);
myFixture.enableInspections(new ScssLintInspection());
myFixture.checkHighlighting(true, false, true);
}
Aggregations