Preparing report...

Report for github.com/limetext/sublime

A    Great!    Found 35 issues across 46 files

Tweet

gofmt95%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo95%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • sublime/api/gen_python_api.go
    • Line 91: warning: cyclomatic complexity 36 of function generatemethod() is high (> 15) (gocyclo)
    • Line 280: warning: cyclomatic complexity 16 of function generateWrapper() is high (> 15) (gocyclo)

golint28%

Golint is a linter for Go source code.

    • sublime/textmate/capture.go
    • Line 14: warning: exported type Captures should have comment or be unexported (golint)
    • Line 16: warning: exported type Capture should have comment or be unexported (golint)
    • Line 21: warning: exported type Named should have comment or be unexported (golint)
    • Line 26: warning: exported method Captures.UnmarshalJSON should have comment or be unexported (golint)
    • Line 39: warning: exported method Captures.SetYAML should have comment or be unexported (golint)
    • Line 63: warning: exported method Captures.Copy should have comment or be unexported (golint)
    • sublime/api/sublime_manual.go
    • Line 16: warning: don't use underscores in Go names; func sublime_ErrorMessage should be sublimeErrorMessage (golint)
    • Line 22: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 25: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 28: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 37: warning: don't use underscores in Go names; func sublime_MessageDialog should be sublimeMessageDialog (golint)
    • Line 43: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 46: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 49: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 58: warning: don't use underscores in Go names; func sublime_OkCancelDialog should be sublimeOkCancelDialog (golint)
    • Line 65: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 68: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 71: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 78: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 81: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 84: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 100: warning: don't use underscores in Go names; func sublime_StatusMessage should be sublimeStatusMessage (golint)
    • Line 106: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 109: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 112: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 121: warning: don't use underscores in Go names; func sublime_Console should be sublimeConsole (golint)
    • Line 127: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 133: warning: don't use underscores in Go names; func sublime_SetTimeOut should be sublimeSetTimeOut (golint)
    • Line 142: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 168: warning: don't use underscores in Go names; var manual_methods should be manualMethods (golint)
    • sublime/api/view_generated.go
    • Line 28: warning: exported type View should have comment or be unexported (golint)
    • Line 33: warning: exported method View.PyInit should have comment or be unexported (golint)
    • Line 36: warning: exported method View.Py_begin_edit should have comment or be unexported (golint)
    • Line 36: warning: don't use underscores in Go names; method Py_begin_edit should be PyBeginEdit (golint)
    • Line 48: warning: exported method View.Py_classify should have comment or be unexported (golint)
    • Line 48: warning: don't use underscores in Go names; method Py_classify should be PyClassify (golint)
    • Line 54: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 57: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 60: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 76: warning: exported method View.Py_end_edit should have comment or be unexported (golint)
    • Line 76: warning: don't use underscores in Go names; method Py_end_edit should be PyEndEdit (golint)
    • Line 82: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 85: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 88: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 97: warning: exported method View.Py_erase should have comment or be unexported (golint)
    • Line 97: warning: don't use underscores in Go names; method Py_erase should be PyErase (golint)
    • Line 104: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 107: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 110: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 117: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 120: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 123: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 132: warning: exported method View.Py_erase_regions should have comment or be unexported (golint)
    • Line 132: warning: don't use underscores in Go names; method Py_erase_regions should be PyEraseRegions (golint)
    • Line 138: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 141: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 144: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 153: warning: exported method View.Py_erase_status should have comment or be unexported (golint)
    • Line 153: warning: don't use underscores in Go names; method Py_erase_status should be PyEraseStatus (golint)
    • Line 159: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 162: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 165: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 174: warning: exported method View.Py_extract_scope should have comment or be unexported (golint)
    • Line 174: warning: don't use underscores in Go names; method Py_extract_scope should be PyExtractScope (golint)
    • Line 180: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 183: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 186: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 202: warning: exported method View.Py_find_by_class should have comment or be unexported (golint)
    • Line 202: warning: don't use underscores in Go names; method Py_find_by_class should be PyFindByClass (golint)
    • Line 210: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 213: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 216: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 223: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 226: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 229: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 236: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 239: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 242: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 258: warning: exported method View.Py_get_regions should have comment or be unexported (golint)
    • Line 258: warning: don't use underscores in Go names; method Py_get_regions should be PyGetRegions (golint)
    • Line 264: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 267: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 270: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 286: warning: exported method View.Py_get_status should have comment or be unexported (golint)
    • Line 286: warning: don't use underscores in Go names; method Py_get_status should be PyGetStatus (golint)
    • Line 292: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 295: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 298: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 314: warning: exported method View.Py_id should have comment or be unexported (golint)
    • Line 314: warning: don't use underscores in Go names; method Py_id should be PyID (golint)
    • Line 326: warning: exported method View.Py_insert should have comment or be unexported (golint)
    • Line 326: warning: don't use underscores in Go names; method Py_insert should be PyInsert (golint)
    • Line 334: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 337: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 340: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 347: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 350: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 353: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 360: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 363: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 366: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 382: warning: exported method View.Py_is_dirty should have comment or be unexported (golint)
    • Line 382: warning: don't use underscores in Go names; method Py_is_dirty should be PyIsDirty (golint)
    • Line 394: warning: exported method View.Py_is_scratch should have comment or be unexported (golint)
    • Line 394: warning: don't use underscores in Go names; method Py_is_scratch should be PyIsScratch (golint)
    • Line 406: warning: exported method View.Py_overwrite_status should have comment or be unexported (golint)
    • Line 406: warning: don't use underscores in Go names; method Py_overwrite_status should be PyOverwriteStatus (golint)
    • Line 418: warning: exported method View.Py_replace should have comment or be unexported (golint)
    • Line 418: warning: don't use underscores in Go names; method Py_replace should be PyReplace (golint)
    • Line 426: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 429: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 432: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 439: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 442: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 445: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 452: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 455: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 458: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 467: warning: exported method View.Py_scope_name should have comment or be unexported (golint)
    • Line 467: warning: don't use underscores in Go names; method Py_scope_name should be PyScopeName (golint)
    • Line 473: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 476: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 479: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 495: warning: exported method View.Py_score_selector should have comment or be unexported (golint)
    • Line 495: warning: don't use underscores in Go names; method Py_score_selector should be PyScoreSelector (golint)
    • Line 502: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 505: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 508: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 515: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 518: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 521: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 537: warning: exported method View.Py_sel should have comment or be unexported (golint)
    • Line 537: warning: don't use underscores in Go names; method Py_sel should be PySel (golint)
    • Line 549: warning: exported method View.Py_set_overwrite_status should have comment or be unexported (golint)
    • Line 549: warning: don't use underscores in Go names; method Py_set_overwrite_status should be PySetOverwriteStatus (golint)
    • Line 555: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 558: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 561: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 570: warning: exported method View.Py_set_scratch should have comment or be unexported (golint)
    • Line 570: warning: don't use underscores in Go names; method Py_set_scratch should be PySetScratch (golint)
    • Line 576: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 579: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 582: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 591: warning: exported method View.Py_set_status should have comment or be unexported (golint)
    • Line 591: warning: don't use underscores in Go names; method Py_set_status should be PySetStatus (golint)
    • Line 598: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 601: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 604: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 611: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 614: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 617: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 626: warning: exported method View.Py_settings should have comment or be unexported (golint)
    • Line 626: warning: don't use underscores in Go names; method Py_settings should be PySettings (golint)
    • Line 638: warning: exported method View.PyStr should have comment or be unexported (golint)
    • Line 642: warning: exported method View.Py_window should have comment or be unexported (golint)
    • Line 642: warning: don't use underscores in Go names; method Py_window should be PyWindow (golint)
    • sublime/syntax/syntax.go
    • Line 13: warning: comment on exported type Syntax should be of the form "Syntax ..." (with optional leading article) (golint)
    • Line 25: warning: exported function Load should have comment or be unexported (golint)
    • sublime/api/view_buffer_generated.go
    • Line 23: warning: exported method View.Py_change_count should have comment or be unexported (golint)
    • Line 23: warning: don't use underscores in Go names; method Py_change_count should be PyChangeCount (golint)
    • Line 35: warning: exported method View.Py_file_name should have comment or be unexported (golint)
    • Line 35: warning: don't use underscores in Go names; method Py_file_name should be PyFileName (golint)
    • Line 53: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 56: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 59: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 81: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 84: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 87: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 103: warning: exported method View.Py_buffer_id should have comment or be unexported (golint)
    • Line 103: warning: don't use underscores in Go names; method Py_buffer_id should be PyBufferID (golint)
    • Line 121: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 124: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 127: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 149: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 152: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 155: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 171: warning: exported method View.Py_lines should have comment or be unexported (golint)
    • Line 171: warning: don't use underscores in Go names; method Py_lines should be PyLines (golint)
    • Line 177: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 180: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 183: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 199: warning: exported method View.Py_name should have comment or be unexported (golint)
    • Line 199: warning: don't use underscores in Go names; method Py_name should be PyName (golint)
    • Line 211: warning: exported method View.Py_rowcol should have comment or be unexported (golint)
    • Line 211: warning: don't use underscores in Go names; method Py_rowcol should be PyRowcol (golint)
    • Line 217: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 220: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 223: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 246: warning: exported method View.Py_set_name should have comment or be unexported (golint)
    • Line 246: warning: don't use underscores in Go names; method Py_set_name should be PySetName (golint)
    • Line 252: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 255: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 258: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 265: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 270: warning: exported method View.Py_size should have comment or be unexported (golint)
    • Line 270: warning: don't use underscores in Go names; method Py_size should be PySize (golint)
    • Line 282: warning: exported method View.Py_text_point should have comment or be unexported (golint)
    • Line 282: warning: don't use underscores in Go names; method Py_text_point should be PyTextPoint (golint)
    • Line 289: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 292: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 295: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 302: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 305: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 308: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 330: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 333: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 336: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 358: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 361: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 364: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/api/regionset_generated.go
    • Line 23: warning: don't use underscores in Go names; var _region_setClass should be _regionSetClass (golint)
    • Line 28: warning: exported type RegionSet should have comment or be unexported (golint)
    • Line 33: warning: exported method RegionSet.PyInit should have comment or be unexported (golint)
    • Line 36: warning: exported method RegionSet.Py_add should have comment or be unexported (golint)
    • Line 36: warning: don't use underscores in Go names; method Py_add should be PyAdd (golint)
    • Line 42: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 45: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 48: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 57: warning: exported method RegionSet.Py_add_all should have comment or be unexported (golint)
    • Line 57: warning: don't use underscores in Go names; method Py_add_all should be PyAddAll (golint)
    • Line 63: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 66: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 69: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 78: warning: exported method RegionSet.Py_clear should have comment or be unexported (golint)
    • Line 78: warning: don't use underscores in Go names; method Py_clear should be PyClear (golint)
    • Line 83: warning: exported method RegionSet.Py_contains should have comment or be unexported (golint)
    • Line 83: warning: don't use underscores in Go names; method Py_contains should be PyContains (golint)
    • Line 89: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 92: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 95: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 111: warning: exported method RegionSet.PySeqGet should have comment or be unexported (golint)
    • Line 129: warning: exported method RegionSet.PySeqLen should have comment or be unexported (golint)
    • Line 133: warning: exported method RegionSet.Py_subtract should have comment or be unexported (golint)
    • Line 133: warning: don't use underscores in Go names; method Py_subtract should be PySubtract (golint)
    • Line 139: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 142: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 145: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/api/sublime_generated.go
    • Line 23: warning: don't use underscores in Go names; func sublime_ActiveWindow should be sublimeActiveWindow (golint)
    • Line 35: warning: don't use underscores in Go names; func sublime_Arch should be sublimeArch (golint)
    • Line 47: warning: don't use underscores in Go names; func sublime_GetClipboard should be sublimeGetClipboard (golint)
    • Line 59: warning: don't use underscores in Go names; func sublime_LogCommands should be sublimeLogCommands (golint)
    • Line 65: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 68: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 71: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 80: warning: don't use underscores in Go names; func sublime_LogInput should be sublimeLogInput (golint)
    • Line 86: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 89: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 92: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 101: warning: don't use underscores in Go names; func sublime_PackagesPath should be sublimePackagesPath (golint)
    • Line 113: warning: don't use underscores in Go names; func sublime_Platform should be sublimePlatform (golint)
    • Line 125: warning: don't use underscores in Go names; func sublime_RunCommand should be sublimeRunCommand (golint)
    • Line 132: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 135: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 138: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 147: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 150: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 159: warning: don't use underscores in Go names; func sublime_SetClipboard should be sublimeSetClipboard (golint)
    • Line 165: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 168: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 171: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 180: warning: don't use underscores in Go names; func sublime_Version should be sublimeVersion (golint)
    • Line 192: warning: don't use underscores in Go names; func sublime_Windows should be sublimeWindows (golint)
    • Line 204: warning: don't use underscores in Go names; var generated_methods should be generatedMethods (golint)
    • sublime/api/window_generated.go
    • Line 28: warning: exported type Window should have comment or be unexported (golint)
    • Line 33: warning: exported method Window.PyInit should have comment or be unexported (golint)
    • Line 36: warning: exported method Window.Py_active_view should have comment or be unexported (golint)
    • Line 36: warning: don't use underscores in Go names; method Py_active_view should be PyActiveView (golint)
    • Line 48: warning: exported method Window.Py_id should have comment or be unexported (golint)
    • Line 48: warning: don't use underscores in Go names; method Py_id should be PyID (golint)
    • Line 60: warning: exported method Window.Py_new_file should have comment or be unexported (golint)
    • Line 60: warning: don't use underscores in Go names; method Py_new_file should be PyNewFile (golint)
    • Line 72: warning: exported method Window.Py_settings should have comment or be unexported (golint)
    • Line 72: warning: don't use underscores in Go names; method Py_settings should be PySettings (golint)
    • Line 84: warning: exported method Window.PyStr should have comment or be unexported (golint)
    • Line 88: warning: exported method Window.Py_views should have comment or be unexported (golint)
    • Line 88: warning: don't use underscores in Go names; method Py_views should be PyViews (golint)
    • sublime/syntax.go
    • Line 22: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/api/commands_generated.go
    • Line 23: warning: don't use underscores in Go names; func sublime_Register should be sublimeRegister (golint)
    • Line 30: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 33: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 36: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 43: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 46: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 49: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 56: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 61: warning: don't use underscores in Go names; func sublime_Unregister should be sublimeUnregister (golint)
    • Line 67: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 70: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 73: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 80: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/api/events_manual.go
    • Line 34: warning: exported type OnQueryContextGlue should have comment or be unexported (golint)
    • Line 38: warning: exported type ViewEventGlue should have comment or be unexported (golint)
    • Line 57: warning: exported method ViewEventGlue.PyInit should have comment or be unexported (golint)
    • Line 63: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 99: warning: exported method OnQueryContextGlue.PyInit should have comment or be unexported (golint)
    • Line 105: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 115: warning: don't use underscores in Go names; method parameter match_all should be matchAll (golint)
    • Line 162: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • sublime/api/region_generated.go
    • Line 28: warning: exported type Region should have comment or be unexported (golint)
    • Line 33: warning: exported method Region.PyInit should have comment or be unexported (golint)
    • Line 41: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 44: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 47: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 57: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 60: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 63: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 72: warning: exported method Region.Py_begin should have comment or be unexported (golint)
    • Line 72: warning: don't use underscores in Go names; method Py_begin should be PyBegin (golint)
    • Line 84: warning: exported method Region.Py_contains should have comment or be unexported (golint)
    • Line 84: warning: don't use underscores in Go names; method Py_contains should be PyContains (golint)
    • Line 90: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 93: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 96: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 112: warning: exported method Region.Py_cover should have comment or be unexported (golint)
    • Line 112: warning: don't use underscores in Go names; method Py_cover should be PyCover (golint)
    • Line 118: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 121: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 124: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 140: warning: exported method Region.Py_empty should have comment or be unexported (golint)
    • Line 140: warning: don't use underscores in Go names; method Py_empty should be PyEmpty (golint)
    • Line 152: warning: exported method Region.Py_end should have comment or be unexported (golint)
    • Line 152: warning: don't use underscores in Go names; method Py_end should be PyEnd (golint)
    • Line 164: warning: exported method Region.Py_intersection should have comment or be unexported (golint)
    • Line 164: warning: don't use underscores in Go names; method Py_intersection should be PyIntersection (golint)
    • Line 170: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 173: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 176: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 192: warning: exported method Region.Py_intersects should have comment or be unexported (golint)
    • Line 192: warning: don't use underscores in Go names; method Py_intersects should be PyIntersects (golint)
    • Line 198: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 201: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 204: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 220: warning: exported method Region.Py_size should have comment or be unexported (golint)
    • Line 220: warning: don't use underscores in Go names; method Py_size should be PySize (golint)
    • Line 232: warning: exported method Region.PyStr should have comment or be unexported (golint)
    • Line 236: warning: exported method Region.PyGet_a should have comment or be unexported (golint)
    • Line 236: warning: don't use underscores in Go names; method PyGet_a should be PyGetA (golint)
    • Line 246: warning: exported method Region.PySet_a should have comment or be unexported (golint)
    • Line 246: warning: don't use underscores in Go names; method PySet_a should be PySetA (golint)
    • Line 249: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 252: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 259: warning: exported method Region.PyGet_b should have comment or be unexported (golint)
    • Line 259: warning: don't use underscores in Go names; method PyGet_b should be PyGetB (golint)
    • Line 269: warning: exported method Region.PySet_b should have comment or be unexported (golint)
    • Line 269: warning: don't use underscores in Go names; method PySet_b should be PySetB (golint)
    • Line 272: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 275: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/api/window_manual.go
    • Line 21: warning: exported method Window.Py_open_file should have comment or be unexported (golint)
    • Line 21: warning: don't use underscores in Go names; method Py_open_file should be PyOpenFile (golint)
    • Line 32: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 42: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 63: warning: exported method Window.Py_run_command should have comment or be unexported (golint)
    • Line 63: warning: don't use underscores in Go names; method Py_run_command should be PyRunCommand (golint)
    • Line 74: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 85: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 93: warning: exported method Window.Py_focus_view should have comment or be unexported (golint)
    • Line 93: warning: don't use underscores in Go names; method Py_focus_view should be PyFocusView (golint)
    • Line 99: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 102: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 105: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/api/commands_manual.go
    • Line 38: warning: exported type CommandGlue should have comment or be unexported (golint)
    • Line 43: warning: exported type WindowCommandGlue should have comment or be unexported (golint)
    • Line 47: warning: exported type TextCommandGlue should have comment or be unexported (golint)
    • Line 51: warning: exported type ApplicationCommandGlue should have comment or be unexported (golint)
    • Line 57: warning: exported method CommandGlue.Init should have comment or be unexported (golint)
    • Line 62: warning: exported method CommandGlue.BypassUndo should have comment or be unexported (golint)
    • Line 66: warning: exported method CommandGlue.PyInit should have comment or be unexported (golint)
    • Line 72: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 79: warning: exported method CommandGlue.CreatePyArgs should have comment or be unexported (golint)
    • Line 82: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 112: warning: exported method CommandGlue.IsEnabled should have comment or be unexported (golint)
    • Line 116: warning: exported method CommandGlue.IsVisible should have comment or be unexported (golint)
    • Line 120: warning: exported method CommandGlue.Description should have comment or be unexported (golint)
    • Line 149: warning: exported method TextCommandGlue.Run should have comment or be unexported (golint)
    • Line 208: warning: exported method WindowCommandGlue.Run should have comment or be unexported (golint)
    • Line 233: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 239: warning: exported method ApplicationCommandGlue.Run should have comment or be unexported (golint)
    • Line 259: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 265: warning: exported method ApplicationCommandGlue.IsChecked should have comment or be unexported (golint)
    • sublime/api/settings_manual.go
    • Line 13: warning: exported method Settings.Py_get should have comment or be unexported (golint)
    • Line 13: warning: don't use underscores in Go names; method Py_get should be PyGet (golint)
    • Line 24: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 38: warning: exported method Settings.Py_set should have comment or be unexported (golint)
    • Line 38: warning: don't use underscores in Go names; method Py_set should be PySet (golint)
    • Line 48: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 57: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/internal/util/api.go
    • Line 16: warning: comment on exported function ExtractAPI should be of the form "ExtractAPI ..." (golint)
    • Line 60: warning: comment on exported function ReadAPI should be of the form "ReadAPI ..." (golint)
    • Line 84: warning: exported function Exists should have comment or be unexported (golint)
    • sublime/colorscheme.go
    • Line 21: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/doc.go
    • Line 5: warning: package comment should be of the form "Package sublime ..." (golint)
    • sublime/package.go
    • Line 16: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • sublime/api/settings_generated.go
    • Line 28: warning: exported type Settings should have comment or be unexported (golint)
    • Line 33: warning: exported method Settings.PyInit should have comment or be unexported (golint)
    • Line 36: warning: exported method Settings.Py_add_on_change should have comment or be unexported (golint)
    • Line 36: warning: don't use underscores in Go names; method Py_add_on_change should be PyAddOnChange (golint)
    • Line 43: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 46: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 49: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 56: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 59: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 62: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 71: warning: exported method Settings.Py_clear_on_change should have comment or be unexported (golint)
    • Line 71: warning: don't use underscores in Go names; method Py_clear_on_change should be PyClearOnChange (golint)
    • Line 77: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 80: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 83: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 92: warning: exported method Settings.Py_erase should have comment or be unexported (golint)
    • Line 92: warning: don't use underscores in Go names; method Py_erase should be PyErase (golint)
    • Line 98: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 101: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 104: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 113: warning: exported method Settings.Py_has should have comment or be unexported (golint)
    • Line 113: warning: don't use underscores in Go names; method Py_has should be PyHas (golint)
    • Line 119: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 122: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 125: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/textmate/regex.go
    • Line 16: warning: exported type Regex should have comment or be unexported (golint)
    • Line 22: warning: comment on exported type MatchObject should be of the form "MatchObject ..." (with optional leading article) (golint)
    • Line 26: warning: exported method Regex.Empty should have comment or be unexported (golint)
    • Line 37: warning: exported method Regex.UnmarshalJSON should have comment or be unexported (golint)
    • Line 50: warning: exported method Regex.SetYAML should have comment or be unexported (golint)
    • Line 58: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 64: warning: comment on exported method Regex.Find should be of the form "Find ..." (golint)
    • Line 90: warning: exported method Regex.Copy should have comment or be unexported (golint)
    • sublime/textmate/preferences/preferences.go
    • Line 18: warning: comment on exported type Preferences should be of the form "Preferences ..." (with optional leading article) (golint)
    • Line 26: warning: exported type Settings should have comment or be unexported (golint)
    • Line 40: warning: exported type ShellVariables should have comment or be unexported (golint)
    • Line 43: warning: exported function Load should have comment or be unexported (golint)
    • Line 76: warning: exported method ShellVariables.UnmarshalJSON should have comment or be unexported (golint)
    • Line 93: warning: should omit 2nd value from range; this loop is equivalent to `for k := range ...` (golint)
    • sublime/textmate/theme/theme.go
    • Line 21: warning: comment on exported type Theme should be of the form "Theme ..." (with optional leading article) (golint)
    • Line 28: warning: exported type ScopeSetting should have comment or be unexported (golint)
    • Line 34: warning: comment on exported type Settings should be of the form "Settings ..." (with optional leading article) (golint)
    • Line 38: warning: exported function Load should have comment or be unexported (golint)
    • Line 70: warning: exported method Settings.UnmarshalJSON should have comment or be unexported (golint)
    • Line 89: warning: exported method Theme.ClosestMatchingSetting should have comment or be unexported (golint)
    • Line 116: warning: exported method Theme.Spice should have comment or be unexported (golint)
    • Line 143: warning: exported method Theme.GlobalSettings should have comment or be unexported (golint)
    • sublime/textmate/language/language.go
    • Line 19: warning: comment on exported type Language should be of the form "Language ..." (with optional leading article) (golint)
    • Line 25: warning: exported type UnpatchedLanguage should have comment or be unexported (golint)
    • Line 34: warning: exported type Provider should have comment or be unexported (golint)
    • Line 40: warning: exported function Load should have comment or be unexported (golint)
    • Line 53: warning: exported method Provider.GetLanguage should have comment or be unexported (golint)
    • Line 56: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 61: warning: exported method Provider.LanguageFromScope should have comment or be unexported (golint)
    • Line 67: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 72: warning: exported method Provider.Add should have comment or be unexported (golint)
    • Line 99: warning: receiver name l should be consistent with previous receiver name s for Language (golint)
    • Line 108: warning: exported method Language.UnmarshalJSON should have comment or be unexported (golint)
    • Line 108: warning: receiver name l should be consistent with previous receiver name s for Language (golint)
    • Line 116: warning: exported method Language.Copy should have comment or be unexported (golint)
    • Line 116: warning: receiver name l should be consistent with previous receiver name s for Language (golint)
    • sublime/api/edit_generated.go
    • Line 28: warning: exported type Edit should have comment or be unexported (golint)
    • Line 33: warning: exported method Edit.PyInit should have comment or be unexported (golint)
    • Line 36: warning: exported method Edit.PyStr should have comment or be unexported (golint)
    • sublime/api/view_manual.go
    • Line 15: warning: exported type Refcounted should have comment or be unexported (golint)
    • Line 17: warning: exported method View.Py_has_non_empty_selection_region should have comment or be unexported (golint)
    • Line 17: warning: don't use underscores in Go names; method Py_has_non_empty_selection_region should be PyHasNonEmptySelectionRegion (golint)
    • Line 26: warning: exported method View.Py_show should have comment or be unexported (golint)
    • Line 26: warning: receiver name view should be consistent with previous receiver name v for View (golint)
    • Line 26: warning: don't use underscores in Go names; method Py_show should be PyShow (golint)
    • Line 37: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 48: warning: exported method View.Py_substr should have comment or be unexported (golint)
    • Line 48: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 48: warning: don't use underscores in Go names; method Py_substr should be PySubstr (golint)
    • Line 59: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 78: warning: exported method View.Py_add_regions should have comment or be unexported (golint)
    • Line 78: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 78: warning: don't use underscores in Go names; method Py_add_regions should be PyAddRegions (golint)
    • Line 92: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 118: warning: exported method View.Py_command_history should have comment or be unexported (golint)
    • Line 118: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 118: warning: don't use underscores in Go names; method Py_command_history should be PyCommandHistory (golint)
    • Line 129: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 135: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 175: warning: exported method View.Py_run_command should have comment or be unexported (golint)
    • Line 175: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 175: warning: don't use underscores in Go names; method Py_run_command should be PyRunCommand (golint)
    • Line 186: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 197: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 205: warning: exported method View.Py_visible_region should have comment or be unexported (golint)
    • Line 205: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 205: warning: don't use underscores in Go names; method Py_visible_region should be PyVisibleRegion (golint)
    • Line 224: warning: exported method View.Py_line should have comment or be unexported (golint)
    • Line 224: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 224: warning: don't use underscores in Go names; method Py_line should be PyLine (golint)
    • Line 231: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 236: warning: exported method View.Py_full_line should have comment or be unexported (golint)
    • Line 236: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 236: warning: don't use underscores in Go names; method Py_full_line should be PyFullLine (golint)
    • Line 247: warning: exported method View.Py_word should have comment or be unexported (golint)
    • Line 247: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 247: warning: don't use underscores in Go names; method Py_word should be PyWord (golint)
    • Line 258: warning: exported method View.Py_set_syntax_file should have comment or be unexported (golint)
    • Line 258: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 258: warning: don't use underscores in Go names; method Py_set_syntax_file should be PySetSyntaxFile (golint)
    • Line 269: warning: exported method View.Py_expand_by_class should have comment or be unexported (golint)
    • Line 269: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 269: warning: don't use underscores in Go names; method Py_expand_by_class should be PyExpandByClass (golint)
    • Line 277: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 281: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 292: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 295: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 298: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 315: warning: exported method View.Py_find should have comment or be unexported (golint)
    • Line 315: warning: receiver name o should be consistent with previous receiver name v for View (golint)
    • Line 315: warning: don't use underscores in Go names; method Py_find should be PyFind (golint)
    • Line 323: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 326: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 329: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 336: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 339: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 342: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 350: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 353: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/syntax/pattern.go
    • Line 10: warning: exported type Context should have comment or be unexported (golint)
    • Line 12: warning: exported type Pattern should have comment or be unexported (golint)
    • sublime/textmate/language/parser.go
    • Line 15: warning: comment on exported type Parser should be of the form "Parser ..." (with optional leading article) (golint)
    • Line 21: warning: exported function NewParser should have comment or be unexported (golint)
    • Line 25: warning: exported method Parser.Data should have comment or be unexported (golint)
    • Line 42: warning: comment on exported method Parser.Parse should be of the form "Parse ..." (golint)
    • sublime/textmate/language/pattern.go
    • Line 19: warning: exported type Pattern should have comment or be unexported (golint)
    • Line 38: warning: exported type RootPattern should have comment or be unexported (golint)
    • Line 45: warning: exported method RootPattern.UnmarshalJSON should have comment or be unexported (golint)
    • Line 56: warning: comment on exported method Pattern.FirstMatch should be of the form "FirstMatch ..." (golint)
    • Line 90: warning: comment on exported method Pattern.Cache should be of the form "Cache ..." (golint)
    • Line 142: warning: comment on exported method Pattern.CreateCaptureNodes should be of the form "CreateCaptureNodes ..." (golint)
    • Line 194: warning: comment on exported method Pattern.CreateNode should be of the form "CreateNode ..." (golint)
    • sublime/api/conversion_manual.go
    • Line 17: warning: exported type Tuple should have comment or be unexported (golint)
    • Line 18: warning: exported type List should have comment or be unexported (golint)
    • Line 201: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 220: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 234: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • sublime/api/region_manual.go
    • Line 14: warning: exported method Region.PyRichCompare should have comment or be unexported (golint)
    • Line 42: warning: if block ends with a return statement, so drop this else and outdent its block (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell95%

Misspell Finds commonly misspelled English words