mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-10-18 19:10:30 +08:00
just: checking for ellipses
Add custom check for ellipses "...", asking for replacement of "…". Git ranges and the CLI wildcard matches are ignored. This change includes fixes to all sites that did not pass the check.
This commit is contained in:
+4
-4
@@ -152,7 +152,7 @@ are separated from private modules with a blank line:
|
||||
use std::time;
|
||||
use std::process;
|
||||
|
||||
...
|
||||
…
|
||||
|
||||
Imports are organized in groups, from least specific to more specific:
|
||||
|
||||
@@ -175,13 +175,13 @@ Use short 1-letter names when the variable scope is only a few lines, or the con
|
||||
obvious, eg.
|
||||
|
||||
if let Some(e) = result.err() {
|
||||
...
|
||||
…
|
||||
}
|
||||
|
||||
Use 1-word names for function parameters or variables that have larger scopes:
|
||||
|
||||
pub fn commit(repo: &Repository, sig: &Signature) -> Result<Commit, Error> {
|
||||
...
|
||||
…
|
||||
}
|
||||
|
||||
Use the most descriptive names for globals:
|
||||
@@ -224,7 +224,7 @@ for the reader:
|
||||
// all of it. It can happen that inventory is not properly tracked if for eg. the
|
||||
// user creates a new repository while the node is stopped.
|
||||
for rid in self.storage.inventory()? {
|
||||
...
|
||||
…
|
||||
|
||||
### Referring to radicle.dev in Code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user