Skip to content

Sloc shouldn't count spurious blank lines after the code #143

Description

@Luni-4

It would be possible to create a file which has a series of blank lines after the last line of code.

Activity

  1. Luni-4 commented on Jul 1, 2020

    @Luni-4
    CollaboratorAuthor

    Since those kind of blank lines are pretty rare, so let's close this one

  2. marco-c commented on Jul 2, 2020

    @marco-c
    Collaborator

    The blank line after the code is actually very frequent (there are some linters that enforce that). We should ignore them for sloc calculation.

  3. reopened this on Jul 2, 2020
  4. added
    enhancementNew feature or request
    and removed
    questionFurther information is requested
    on Jul 2, 2020
  5. changed the title [-]Sloc should count spurious blank lines[/-] [+]Sloc should count spurious blank lines after the code[/+] on Jul 2, 2020
  6. changed the title [-]Sloc should count spurious blank lines after the code[/-] [+]Sloc shouldn't count spurious blank lines after the code[/+] on Jul 2, 2020
  7. self-assigned this
    on Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions