File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : New lint suggestion
2
+ description : Suggest a new Cargo lint.
3
+ labels : ["A-lint", "S-triage"]
4
+ body :
5
+ - type : markdown
6
+ attributes :
7
+ value : Thank you for your lint idea!
8
+ - type : textarea
9
+ id : what
10
+ attributes :
11
+ label : What it does
12
+ description : What does this lint do?
13
+ validations :
14
+ required : true
15
+ - type : textarea
16
+ id : advantage
17
+ attributes :
18
+ label : Advantage
19
+ description : >
20
+ What is the advantage of the recommended code over the original code?
21
+ placeholder : |
22
+ - Remove bounds check inserted by ...
23
+ - Remove the need to duplicate/store ...
24
+ - Remove typo ...
25
+ - type : textarea
26
+ id : drawbacks
27
+ attributes :
28
+ label : Drawbacks
29
+ description : What might be possible drawbacks of such a lint?
30
+ - type : textarea
31
+ id : example
32
+ attributes :
33
+ label : Example
34
+ description : >
35
+ Include a short example showing when the lint should trigger together
36
+ with the improved code.
37
+ value : |
38
+ ```toml
39
+ <code>
40
+ ```
41
+
42
+ Could be written as:
43
+
44
+ ```toml
45
+ <code>
46
+ ```
47
+ validations :
48
+ required : true
You can’t perform that action at this time.
0 commit comments