Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature_request(validation): validate license files #50

Open
Kristinita opened this issue Apr 21, 2018 · 0 comments
Open

feature_request(validation): validate license files #50

Kristinita opened this issue Apr 21, 2018 · 0 comments

Comments

@Kristinita
Copy link

Kristinita commented Apr 21, 2018

1. Summary

It would be nice, if license files will be valid.

2. Argumentation

  1. I use Markdownlint for validating Markdown files.
  2. I prefer tabs, not spaces. I use EClint, that check, that in all my files tabs indentation.

3. Steps to reproduce

lice mit --file LICENSE.md

markdownlint LICENSE.md

eclint check LICENSE.md

4. Expected behavior

No output in console.

5. Actual behavior

Markdownlint:

D:\Kristinita>markdownlint LICENSE.md
LICENSE.md: 4: MD009/no-trailing-spaces Trailing spaces [Expected: 0; Actual: 1]
LICENSE.md: 11: MD009/no-trailing-spaces Trailing spaces [Expected: 0; Actual: 1]
LICENSE.md: 14: MD009/no-trailing-spaces Trailing spaces [Expected: 0; Actual: 1]
LICENSE.md: 23: MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]

ECLint:

D:\Kristinita>eclint check LICENSE.md
LICENSE.md
    02:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    03:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    05:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    06:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    07:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    08:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    09:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    10:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    12:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    13:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    15:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    16:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    17:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    18:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    19:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    20:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)
    21:01 ❌️ invalid indent style: space, expected: tab (EditorConfig indent_style https://goo.gl/8Qkrbr)

Extra spaces in beginning of each line:

Extra spaces

I can't fix it, use eclint fix.

6. Not helped

  1. --template option. I make template without leading spaces → lice generate leading spaces.

Thanks.

Kristinita pushed a commit to Kristinita/KristinitaPelican that referenced this issue Apr 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant