Skip to content

Idea: Support comments and whitespace #53

@colelawrence

Description

@colelawrence

I'm not sure how hard it would be, but I have a use case to use this package as a tool for rewriting TOML files without affecting style and whitespaces. So, the first idea that I had would be to write a function which can take the toml eslint AST and generate the TOML source.

I'm not so sure how far away an idea like this is, but I feel like it's a small change to at the least maintain newlines and comments.

I'm not entirely sure, but I thought I'd throw this idea in here.

Cheers

– Cole

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions