Skip to content

Commit a81af2f

Browse files
committed
Add trailing whitespace lint
It's actually a bit buggy at the moment - it adds one extra newline.
1 parent 10de5c1 commit a81af2f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.nit.json5

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
linters: [
33
{
4-
name: "Ruff (Python format/lint)",
4+
name: "Trailing whitespace",
55
location: {
66
remote: {
7-
url: "https://github.com/Timmmm/ruff/releases/download/0.0.1/ruff.wasm",
8-
hash: "becf10f9e95dbb08d66b01a662c6041abb53aac64f3af669e81b6abd24b7b015",
7+
url: "https://github.com/Timmmm/nit/releases/download/0.1.2/lint_whitespace.wasm",
8+
hash: "12c009463448f2766be1795da752e06d43b9c86a0a1de82e95d3b871a8e3fffe",
99
},
1010
},
1111
},
@@ -14,3 +14,4 @@
1414
bool: true,
1515
},
1616
}
17+

0 commit comments

Comments
 (0)