Skip to content

[Feature] blank_line_before_statement #1063

@ALameLlama

Description

@ALameLlama

I'd like to have something similar to php-cs-fixer where you can add a blank line above statements when they're on the same indentation level.

e.g
before

local function parse(input)
    if #input < 1 then
        return false
	end
    return true
end

after

local function parse(input)
    if #input < 1 then
        return false
	end

    return true
end

or
before

local a = 9000
if true then
    foo = bar
end

after

local a = 9000

if true then
    foo = bar
end

there are more examples in the link provided (granted they are in php)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions