forked from mirrors/gecko-dev
<!-- Please describe your changes on the following line: -->
Added a regex check to enforce project style guidelines. Added unit check. Catches:
```
}
else {
```
when it should be
`} else {`
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors (no core files changed)
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12234 (github issue number if applicable).
<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Source-Repo: https://github.com/servo/servo
Source-Revision: e21b47c2cc14897380a8c4ef2dfa650b1dd48ab5
|
||
|---|---|---|
| .. | ||
| test_ignored/whee | ||
| __init__.py | ||
| duplicated_package.lock | ||
| incorrect_license.rs | ||
| long_line.rs | ||
| modeline.txt | ||
| rust_tidy.rs | ||
| spec.webidl | ||
| speclink.rs | ||
| test.toml | ||
| test_tidy.py | ||
| whatwg_link.rs | ||
| wrong_space.rs | ||