Skip to content

Commit

Permalink
Update diktat-coding-convention.md
Browse files Browse the repository at this point in the history
### What's done:
Updates to code-style
  • Loading branch information
orchestr7 authored Dec 3, 2020
1 parent 592031c commit 4ca8322
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions info/guide/diktat-coding-convention.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Note: The source file encoding format (including comments) must be UTF-8 only. T

<!-- =============================================================================== -->
### <a name="c1.1"></a> 1.1 Identifier names
### <a name="r1.1.1"></a> 1.1.1: Identifiers naming conventions
### <a name="r1.1.1"></a> Rule 1.1.1: Identifiers naming conventions

For identifiers, use the following naming conventions:
1. All identifiers should use only ASCII letters or digits, and the names should match regular expressions `\w{2,64}`.
Expand Down Expand Up @@ -130,7 +130,7 @@ Note that prefixing can also negatively affect the style and the auto-generation

<!-- =============================================================================== -->
### <a name="c1.2"></a> 1.2 Packages names
### <a name="r1.2.1"></a> Rule 1.2.1: Package names dots
### <a name="r1.2.1"></a> Rule 1.2.1: Format of package names
Package names are in lower case and separated by dots. Code developed within your company should start with `your.company.domain.` Numbers are permitted in package names.
Each file should have a `package` directive.
Package names are all written in lowercase, and consecutive words are concatenated together (no underscores). Package names should contain both the product and module names, and the department (or team) name to prevent conflicts with other teams. Numbers are not permitted. For example: `org.apache.commons.lang3`, `xxx.yyy.v2`.
Expand Down Expand Up @@ -2103,4 +2103,4 @@ interface I {
object O: I {
override fun foo() {}
}
```
```

0 comments on commit 4ca8322

Please sign in to comment.