Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

feature_request(validation): comments without leading spaces #16

Open
Kristinita opened this issue Apr 28, 2018 · 1 comment
Open

feature_request(validation): comments without leading spaces #16

Kristinita opened this issue Apr 28, 2018 · 1 comment

Comments

@Kristinita
Copy link
Contributor

1. Summary

It would be nice, if would be possible use comments without leading spaces in lines.

2. Argumentation

I preferred tabs, not spaces indentation.

I use eclint for coding style validation. eclint generates an error, if leading spaces. I need remove leading spaces manually. It may take a lot of time.

3. Steps to reproduce

I open any SashaLeadingSpaces.css file → I print c- → I select c-long Long Comment in autocomplete.

4. Expected behavior

/*
* comment
*/

eclint no generate errors.

5. Actual behavior

/*
 * comment
 */
D:\SashaECLintDebugging>eclint check SashaLeadingSpaces.css
SashaLeadingSpaces.css
    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)

Thanks.

@hachesilva
Copy link
Owner

Hi @Kristinita,

I understand your approach but it seems more like a preference and a configuration of your environment than a feature or a bug on the snippets themselves, I'm trying to keep them consistent and flexible.

A change in the eclint settings would be prefered here as this is more suited to preferences than to features.

Thanks for the suggestion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants