HaxePunk/HaxePunk

View on GitHub

Showing 149 of 149 total issues

Unused import haxepunk.Graphic detected
Open

import haxepunk.Graphic;

Checks for unused or duplicate imports.

Right curly should be alone on a new line
Open

        }, 0);

Checks the placement of right curly braces (}) for code blocks. The policy to verify is specified using the property option.

Wrong indentation character (should be tab)
Open

        width        = "640";
Severity: Critical
Found in tools/Project.hx by haxe-checkstyle

Checks indentation character (tab/space, default is tab).

Missing package declaration
Open

import haxepunk.Engine;

Checks for empty package names.

Unused import platformer.GameScene detected
Open

import platformer.GameScene;

Checks for unused or duplicate imports.

Missing package declaration
Open

import haxepunk.HXP;

Checks for empty package names.

Unused import haxepunk.input.Input detected
Open

import haxepunk.input.Input;

Checks for unused or duplicate imports.

Missing package declaration
Open

import haxepunk.HXP;

Checks for empty package names.

Unused import haxepunk.utils.Draw detected
Open

import haxepunk.utils.Draw;
Severity: Info
Found in haxepunk/Engine.hx by haxe-checkstyle

Checks for unused or duplicate imports.

Function parameter cursor = null should be ?cursor
Open

    static inline function set_cursor(cursor:Cursor = null):Cursor
Severity: Info
Found in haxepunk/HXP.hx by haxe-checkstyle

Enforces a style for nullable parameters.

Left curly should be on new line (only whitespace before curly)
Open

    public static inline function get_DEG(): Float { return -180 / Math.PI; }
Severity: Minor
Found in haxepunk/math/MathUtil.hx by haxe-checkstyle

Checks for the placement of left curly braces ({) for code blocks. The policy to verify is specified using the property option.

Left curly should be on new line (only whitespace before curly)
Open

abstract BlendMode(Int) from Int to Int {
Severity: Minor
Found in haxepunk/utils/BlendMode.hx by haxe-checkstyle

Checks for the placement of left curly braces ({) for code blocks. The policy to verify is specified using the property option.

Right curly should be alone on a new line
Open

            } 
Severity: Minor
Found in tools/Run.hx by haxe-checkstyle

Checks the placement of right curly braces (}) for code blocks. The policy to verify is specified using the property option.

Left curly should be on new line (only whitespace before curly)
Open

class Main { public static function main() {} }
Severity: Minor
Found in doc/Main.hx by haxe-checkstyle

Checks for the placement of left curly braces ({) for code blocks. The policy to verify is specified using the property option.

Unused import haxepunk.graphics.tile.Tilemap detected
Open

import haxepunk.graphics.tile.Tilemap;

Checks for unused or duplicate imports.

Left curly should be on new line (only whitespace before curly)
Open

    function get_onGround():Bool { return _onGround; }

Checks for the placement of left curly braces ({) for code blocks. The policy to verify is specified using the property option.

Detected import haxepunk.Graphic from same package haxepunk
Open

import haxepunk.Graphic;
Severity: Info
Found in haxepunk/Cursor.hx by haxe-checkstyle

Checks for unused or duplicate imports.

Function parameter options = null should be ?options
Open

    public static function tween(object:Dynamic, values:Dynamic, duration:Float, options:Dynamic = null):MultiVarTween
Severity: Info
Found in haxepunk/HXP.hx by haxe-checkstyle

Enforces a style for nullable parameters.

Unused import haxepunk.Graphic detected
Open

import haxepunk.Graphic;

Checks for unused or duplicate imports.

Unused import haxepunk.math.Rectangle detected
Open

import haxepunk.math.Rectangle;

Checks for unused or duplicate imports.

Severity
Category
Status
Source
Language