Skip to content

Commit

Permalink
Add compile errors for a couple Google switch conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
agasser committed Nov 8, 2024
1 parent f9c413b commit bdd1263
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscode/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
org.eclipse.jdt.core.compiler.problem.fallthroughCase=error
org.eclipse.jdt.core.compiler.problem.missingDefaultCase=error
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=error
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
},
"editor.detectIndentation": false,
"java.inlayHints.parameterNames.enabled": "none",
"java.settings.url": ".vscode/org.eclipse.jdt.core.prefs",
"spotlessGradle.format.enable": true,
"spotlessGradle.diagnostics.enable": true,
"java.format.enabled": false,
Expand Down

0 comments on commit bdd1263

Please sign in to comment.