Skip to content

Commit 4e3616e

Browse files
authored
Merge pull request #97 from shati-semmle/ql-style-guide
QL style guide: Small fixes
2 parents d22a65a + 4965377 commit 4e3616e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/ql-style-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ select c, "This call to '$@' is deprecated because " + reason + ".",
4747
- Before each declaration, except for the first declaration in a *body*
4848
- Before the `from`-`where`-`select` section in a query file
4949
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.
5151
1. There *should not* be additional blank lines within a predicate.
5252
1. There *may* be a new line:
5353
- Immediately after the `from`, `where` or `select` keywords in a query.
@@ -409,7 +409,7 @@ deprecated Expr getInitializer()
409409
| *[conjunct](https://help.semmle.com/QL/QLLanguageSpecification.html#conjunctions)* | A formula that is an operand to an `and`. |
410410
| *declaration* | A class, module, predicate, field or newtype. |
411411
| *[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`. |
413413
| *should/should not/avoid/prefer* | Adhere to this rule wherever possible, where it makes sense. |
414414
| *may/can* | This is a reasonable alternative, to be used with discretion. |
415415
| *must/always/do not* | Always adhere to this rule. |

0 commit comments

Comments
 (0)