Skip to content

Instantly share code, notes, and snippets.

@tylervz
Created September 14, 2022 15:16
Show Gist options
  • Save tylervz/bfbe3332bde0f581192a4186ce8298ba to your computer and use it in GitHub Desktop.
Save tylervz/bfbe3332bde0f581192a4186ce8298ba to your computer and use it in GitHub Desktop.
{
"extends": "recommended",
"rules": {
"braces.ElseBlockBraces": {
"enabled": true
},
"braces.ForStatementBraces": {
"enabled": true
},
"braces.IfStatementBraces": {
"enabled": true
},
"braces.WhileStatementBraces": {
"enabled": true
},
"CatchException": {
"enabled": false
},
"CatchThrowable": {
"enabled": false
},
"ClassJavadoc": {
"enabled": false
},
"ClosureAsLastMethodParameter": {
"enabled": false
},
"DuplicateNumberLiteral": {
"enabled": false
},
"DuplicateStringLiteral": {
"enabled": false
},
"FieldTypeRequired": {
"enabled": false
},
"JavaIoPackageAccess": {
"enabled": false
},
"formatting.MissingBlankLineAfterImports": {
"enabled": true
},
"formatting.MissingBlankLineAfterPackage": {
"enabled": true
},
"formatting.MissingBlankLineBeforeAnnotatedField": {
"enabled": true
},
"formatting.SpaceAfterCatch": {
"enabled": true
},
"formatting.SpaceAfterComma": {
"enabled": true
},
"formatting.SpaceAfterFor": {
"enabled": true
},
"formatting.SpaceAfterIf": {
"enabled": true
},
"formatting.SpaceAfterMethodCallName": {
"enabled": true
},
"formatting.SpaceAfterMethodDeclarationName": {
"enabled": true
},
"formatting.SpaceAfterOpeningBrace": {
"enabled": true
},
"formatting.SpaceAfterSwitch": {
"enabled": true
},
"formatting.SpaceAfterWhile": {
"enabled": true
},
"formatting.SpaceAroundOperator": {
"enabled": true
},
"formatting.LineLength": {
"enabled": true,
"length": 130
},
"MethodParameterTypeRequired": {
"enabled": false
},
"MethodSize": {
"enabled": false
},
"NoDef": {
"enabled": false
},
"PrintStackTrace": {
"enabled": false
},
"PropertyName": {
"enabled": false
},
"SpaceAroundMapEntryColon": {
"enabled": false
},
"SystemExit": {
"enabled": false
},
"UnnecessaryGetter": {
"enabled": false
},
"UnnecessaryObjectReferences": {
"enabled": false
},
"UnnecessarySetter": {
"enabled": false
},
"VariableName": {
"enabled": false
},
"VariableTypeRequired": {
"enabled": false
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment