You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ql-style-guide.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ select c, "This call to '$@' is deprecated because " + reason + ".",
47
47
- Before each declaration, except for the first declaration in a *body*
48
48
- Before the `from`-`where`-`select` section in a query file
49
49
1.*Avoid* two or more adjacent blank lines.
50
-
1. There *must* be a new line after the *annotations*`cached`, `deprecated`, `pragma`, `language` and `bindingset`. Other *annotations* do not have a new line.
50
+
1. There *must* be a new line after the *annotations*`cached`, `pragma`, `language` and `bindingset`. Other *annotations* do not have a new line.
51
51
1. There *should not* be additional blank lines within a predicate.
52
52
1. There *may* be a new line:
53
53
- Immediately after the `from`, `where` or `select` keywords in a query.
|*[conjunct](https://help.semmle.com/QL/QLLanguageSpecification.html#conjunctions)*| A formula that is an operand to an `and`. |
410
410
|*declaration*| A class, module, predicate, field or newtype. |
411
411
|*[disjunct](https://help.semmle.com/QL/QLLanguageSpecification.html#disjunctions)*| A formula that is an operand to an `or`. |
412
-
|*[formula](https://help.semmle.com/QL/QLLanguageSpecification.html#formulas)*| A logical expression, such as `A = B`, a *call*, a *quantifier*, `and`, `or`, `not`, 'in` or `instanceof`. |
412
+
|*[formula](https://help.semmle.com/QL/QLLanguageSpecification.html#formulas)*| A logical expression, such as `A = B`, a *call*, a *quantifier*, `and`, `or`, `not`, `in` or `instanceof`. |
413
413
|*should/should not/avoid/prefer*| Adhere to this rule wherever possible, where it makes sense. |
414
414
|*may/can*| This is a reasonable alternative, to be used with discretion. |
415
415
|*must/always/do not*| Always adhere to this rule. |
0 commit comments