Skip to content

Commit

Permalink
Delete CheckDefaultExportOfGoogModule.
Browse files Browse the repository at this point in the history
This is now more of a hinderance than a benefit the TypeScript tooling will translate it to the expected pattern.

PiperOrigin-RevId: 716742693
  • Loading branch information
concavelenz authored and copybara-github committed Jan 17, 2025
1 parent 35b2d79 commit a21cc0f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 255 deletions.
2 changes: 0 additions & 2 deletions src/com/google/javascript/jscomp/DefaultPassConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import com.google.javascript.jscomp.lint.CheckArrayWithGoogObject;
import com.google.javascript.jscomp.lint.CheckConstPrivateProperties;
import com.google.javascript.jscomp.lint.CheckConstantCaseNames;
import com.google.javascript.jscomp.lint.CheckDefaultExportOfGoogModule;
import com.google.javascript.jscomp.lint.CheckDuplicateCase;
import com.google.javascript.jscomp.lint.CheckEmptyStatements;
import com.google.javascript.jscomp.lint.CheckEnums;
Expand Down Expand Up @@ -1947,7 +1946,6 @@ public void process(Node externs, Node root) {
ImmutableList.<NodeTraversal.Callback>builder()
.add(new CheckConstPrivateProperties(compiler))
.add(new CheckConstantCaseNames(compiler))
.add(new CheckDefaultExportOfGoogModule(compiler))
.add(new CheckEmptyStatements(compiler))
.add(new CheckEnums(compiler))
.add(new CheckEs6ModuleFileStructure(compiler))
Expand Down
3 changes: 0 additions & 3 deletions src/com/google/javascript/jscomp/DiagnosticGroups.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import com.google.javascript.jscomp.lint.CheckArrayWithGoogObject;
import com.google.javascript.jscomp.lint.CheckConstPrivateProperties;
import com.google.javascript.jscomp.lint.CheckConstantCaseNames;
import com.google.javascript.jscomp.lint.CheckDefaultExportOfGoogModule;
import com.google.javascript.jscomp.lint.CheckDuplicateCase;
import com.google.javascript.jscomp.lint.CheckEmptyStatements;
import com.google.javascript.jscomp.lint.CheckEnums;
Expand Down Expand Up @@ -555,8 +554,6 @@ public static DiagnosticGroup forName(String name) {
CheckConstPrivateProperties.MISSING_CONST_PROPERTY,
CheckConstantCaseNames.REASSIGNED_CONSTANT_CASE_NAME,
CheckConstantCaseNames.MISSING_CONST_PROPERTY,
CheckDefaultExportOfGoogModule.DEFAULT_EXPORT_IN_GOOG_MODULE,
CheckDefaultExportOfGoogModule.MAYBE_ACCIDENTAL_DEFAULT_EXPORT_IN_GOOG_MODULE,
CheckEmptyStatements.USELESS_EMPTY_STATEMENT,
CheckEnums.COMPUTED_PROP_NAME_IN_ENUM,
CheckEnums.DUPLICATE_ENUM_VALUE,
Expand Down
2 changes: 0 additions & 2 deletions src/com/google/javascript/jscomp/LintPassConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import com.google.common.collect.ImmutableList;
import com.google.javascript.jscomp.lint.CheckConstPrivateProperties;
import com.google.javascript.jscomp.lint.CheckConstantCaseNames;
import com.google.javascript.jscomp.lint.CheckDefaultExportOfGoogModule;
import com.google.javascript.jscomp.lint.CheckDuplicateCase;
import com.google.javascript.jscomp.lint.CheckEmptyStatements;
import com.google.javascript.jscomp.lint.CheckEnums;
Expand Down Expand Up @@ -90,7 +89,6 @@ protected PassListBuilder getFinalizations() {
ImmutableList.of(
new CheckConstPrivateProperties(compiler),
new CheckConstantCaseNames(compiler),
new CheckDefaultExportOfGoogModule(compiler),
new CheckDuplicateCase(compiler),
new CheckEmptyStatements(compiler),
new CheckEnums(compiler),
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit a21cc0f

Please sign in to comment.