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

Auto add newlines #53

Merged
merged 5 commits into from
Jan 17, 2020
Merged

Auto add newlines #53

merged 5 commits into from
Jan 17, 2020

Conversation

TadeasKucera
Copy link
Contributor

@TadeasKucera TadeasKucera commented Jan 16, 2020

Autoformatting now forces new-lines -- the rule
rule name { meta: author = "Author" strings: $s1 = "str" condition: true }

will be autoformatted as follows:

rule name
{
        meta: 
                author = "Author"
        strings:
                $s1 = "str"
        condition:
                true
}

One-line rules are no more accepted.

@TadeasKucera TadeasKucera marked this pull request as ready for review January 17, 2020 09:46
@metthal metthal merged commit 994022d into master Jan 17, 2020
@metthal metthal deleted the auto_add_newlines branch January 17, 2020 10:34
metthal added a commit that referenced this pull request Jan 17, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants