Skip to content

Commit

Permalink
Fix accidentally commented code (#4278)
Browse files Browse the repository at this point in the history
  • Loading branch information
saberduck authored Oct 17, 2023
1 parent 382f0b9 commit 080bf48
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions its/ruling/src/test/java/org/sonar/javascript/it/JsTsRulingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,55 +88,55 @@ class JsTsRulingTest {

public static Stream<Arguments> ruling() {
return Stream.of(
jsTsProject("amplify", "external/**", "test")
// jsTsProject("angular.js", "src/ngLocale/**, i18n/**", "test"),
// jsTsProject("backbone", "test"),
// jsTsProject("es5-shim", "tests"),
// jsTsProject("fireact"),
// jsTsProject("ace"),
// jsTsProject("ecmascript6-today"),
// jsTsProject("expressionist.js"),
// jsTsProject("Ghost"),
// jsTsProject("http"),
// jsTsProject("reddit-mobile"),
// jsTsProject("redux"),
// jsTsProject("router"),
// jsTsProject("snoode"),
// jsTsProject("sonar-web"),
// jsTsProject("templating"),
// jsTsProject("watchtower.js"),
// jsTsProject("jira-clone"),
// jsTsProject("jquery", "test"),
// jsTsProject("jshint", "tests"),
// jsTsProject("jStorage", "tests"),
// jsTsProject("knockout", "spec"),
// jsTsProject("mootools-core", "Specs"),
// jsTsProject("ocanvas", "build/**", ""),
// jsTsProject("p5.js", "test"),
// jsTsProject("paper.js", "gulp/jsdoc/**, packages/**", "test"),
// jsTsProject("prototype", "test"),
// jsTsProject("qunit", "test"),
// jsTsProject("react-cloud-music"),
// jsTsProject("sizzle", "external/**", "test"),
// jsTsProject("underscore", "test"),
// jsTsProject("ag-grid", "spec"),
// jsTsProject("ant-design", "tests"), // todo: many dirs **/__tests__
// jsTsProject("console"), // todo: many dirs **/__tests__
// jsTsProject("courselit", ".yarn/**", ""),
// jsTsProject("desktop", "app/test"),
// jsTsProject("eigen"), // todo
// jsTsProject("fireface"),
// jsTsProject("ionic2-auth"),
// jsTsProject("Joust"), // todo: files **/*.spec.ts
// jsTsProject("moose"),
// jsTsProject("postgraphql"), // todo: many dirs **/__tests__
// jsTsProject("prettier-vscode"),
// jsTsProject("rxjs", "spec"),
// jsTsProject("searchkit"), // todo
// jsTsProject("TypeScript", "src/harness/unittests"),
// jsTsProject("vuetify"),
// jsTsProject("yaml", "../sources/yaml", "", ""),
// jsTsProject("file-for-rules", "../sources/jsts/custom", "", "tests")
jsTsProject("amplify", "external/**", "test"),
jsTsProject("angular.js", "src/ngLocale/**, i18n/**", "test"),
jsTsProject("backbone", "test"),
jsTsProject("es5-shim", "tests"),
jsTsProject("fireact"),
jsTsProject("ace"),
jsTsProject("ecmascript6-today"),
jsTsProject("expressionist.js"),
jsTsProject("Ghost"),
jsTsProject("http"),
jsTsProject("reddit-mobile"),
jsTsProject("redux"),
jsTsProject("router"),
jsTsProject("snoode"),
jsTsProject("sonar-web"),
jsTsProject("templating"),
jsTsProject("watchtower.js"),
jsTsProject("jira-clone"),
jsTsProject("jquery", "test"),
jsTsProject("jshint", "tests"),
jsTsProject("jStorage", "tests"),
jsTsProject("knockout", "spec"),
jsTsProject("mootools-core", "Specs"),
jsTsProject("ocanvas", "build/**", ""),
jsTsProject("p5.js", "test"),
jsTsProject("paper.js", "gulp/jsdoc/**, packages/**", "test"),
jsTsProject("prototype", "test"),
jsTsProject("qunit", "test"),
jsTsProject("react-cloud-music"),
jsTsProject("sizzle", "external/**", "test"),
jsTsProject("underscore", "test"),
jsTsProject("ag-grid", "spec"),
jsTsProject("ant-design", "tests"), // todo: many dirs **/__tests__
jsTsProject("console"), // todo: many dirs **/__tests__
jsTsProject("courselit", ".yarn/**", ""),
jsTsProject("desktop", "app/test"),
jsTsProject("eigen"), // todo
jsTsProject("fireface"),
jsTsProject("ionic2-auth"),
jsTsProject("Joust"), // todo: files **/*.spec.ts
jsTsProject("moose"),
jsTsProject("postgraphql"), // todo: many dirs **/__tests__
jsTsProject("prettier-vscode"),
jsTsProject("rxjs", "spec"),
jsTsProject("searchkit"), // todo
jsTsProject("TypeScript", "src/harness/unittests"),
jsTsProject("vuetify"),
jsTsProject("yaml", "../sources/yaml", "", ""),
jsTsProject("file-for-rules", "../sources/jsts/custom", "", "tests")
);
}

Expand Down Expand Up @@ -300,7 +300,7 @@ static void runRulingTest(String projectKey, String sources, String exclusions,
)
.setProperty("sonar.lits.differences", differencesPath.toString())
.setProperty("sonar.exclusions", actualExclusions)
.setProperty("sonar.javascript.node.maxspace", "4096")
.setProperty("sonar.javascript.node.maxspace", "2048")
.setProperty("sonar.javascript.maxFileSize", "4000")
.setProperty("sonar.cpd.exclusions", "**/*")
.setProperty("sonar.internal.analysis.failFast", "true");
Expand Down

0 comments on commit 080bf48

Please sign in to comment.