Skip to content

[Feature] Add basic .editorconfig file while creating new Clarinet project #279

Closed

Description

Clarity contracts must be saved with Unix line endings and on Windows machines some users have to manually configure their IDE to enforce it.

Maybe to make it a bit easier we should add to the list of suggested plugins: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig, and also add basic .editorconfig file during new project creation?

.editorconfig could look like this:

[*.{ts,clar,json,toml}]
end_of_line = lf
trim_trailing_whitespace = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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