Skip to content

Style for (sub)modules? #75

@nickrobinson251

Description

@nickrobinson251

e.g. don't indent inside `module ... end"?

# Yes
module Foo

export bar

bar() = 1

end

# No
module Foo

    export bar

    bar() = 1

end

Perhaps other rules? e.g. Blank line after module and before end?

# Yes
module Foo

export bar
bar() = 1

end

# No
module Foo
export bar
bar() = 1
end

it'd also be kind nice to add a comment after end e.g. end # module?

Raised by @iamed2 in JuliaDatabases/LibPQ.jl#197 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions