summaryrefslogtreecommitdiff
path: root/plugins/workflow_objc/CONTRIBUTING.md
blob: 77539dffd788c8f3bd10019d840dfe1196029a15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contribution Guidelines

Contributions in the form of issues and pull requests are welcome! See the
sections below if you are contributing code.

## Conventions

Refer to the [WebKit Style Guide](https://webkit.org/code-style-guidelines/)
when in doubt.

## Formatting

Let `clang-format` take care of it. The built-in WebKit style is used.

```sh
clang-format -i --style=WebKit <file>
```

- Split long lines when it improves readability. 80 columns is the preferred
maximum line length, but use some judgement and don't split lines just because a
semicolon exceeds the length limit, etc.

## Testing

If you are making changes to the core analysis library, run the test suite and
ensure that there are no unexpected changes to analysis behavior.