Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Briar Desktop Briar Desktop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 229
    • Issues 229
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • briarbriar
  • Briar DesktopBriar Desktop
  • Wiki
  • Code Style

Code Style · Changes

Page history
Update Code Style authored Sep 16, 2021 by Sebastian's avatar Sebastian
Hide whitespace changes
Inline Side-by-side
Code-Style.md
View page @ 1f32df12
......@@ -51,4 +51,10 @@ fi
exit 0
```
Similarly, you can create a script at `.git/hooks/pre-commit` to check the coding conventions on every commit.
\ No newline at end of file
Similarly, you can create a script at `.git/hooks/pre-commit` to check the coding conventions on every commit.
## Files not ending with line breaks
The linter requires every file to end with a line break. IntelliJ doesn't add those by default, so to force it to do that, enable the following setting:
`Settings` → `Editor` → `General` → `On Save` → `Ensure every saved file ends with a line break`
\ No newline at end of file
Clone repository
  • Accessibility
  • Changelog
  • Code Style
  • Milestones Graph
  • Milestones
  • Home