curious if there’s been any thoughts about a style...
# general
c
curious if there’s been any thoughts about a style guide for pack contributions - the following items are a bit inconsistent and i think it would be good if we standardized on at least some of these: 1. query name capitalization - should it be all lowercase, camel case, or underscores or something else? 2. In the JSON, should there be a space with the colon? i.e.
Copy code
"query" : "
or
"query": "
3. Should SQL built-in terms be capitalized?, i.e.
Copy code
SELECT * FROM table
or
select * from table
4. should queries always be shortened and split with line breaks (https://github.com/facebook/osquery/blob/master/packs/osx-attacks.conf#L205-L215) or are long form queries okay?