Showing 129 of 129 total issues
exported const PROMPT should have comment or be unexported Open
Open
const PROMPT = ">> "
- Exclude checks
2: cannot find package "github.com/hussar-lang/hussar/token" in any of: Open
Open
"github.com/hussar-lang/hussar/token"
- Exclude checks
exported type ExpressionStatement should have comment or be unexported Open
Open
type ExpressionStatement struct {
- Exclude checks
exported type Environment should have comment or be unexported Open
Open
type Environment struct {
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
STRING_OBJ = "STRING"
- Exclude checks
comment on exported type Function should be of the form "Function ..." (with optional leading article) Open
Open
// === Function ===
- Exclude checks
exported method Parser.Errors should have comment or be unexported Open
Open
func (p *Parser) Errors() []string {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
exported const ILLEGAL should have comment (or a comment on this block) or be unexported Open
Open
ILLEGAL = "ILLEGAL"
- Exclude checks