2020-02-13 18:40:25 +01:00
|
|
|
---
|
|
|
|
name: New Rule
|
|
|
|
about: You have an idea for a new rule? Great!
|
|
|
|
title: ''
|
2020-04-04 18:29:50 +02:00
|
|
|
labels: 'a:new-rule'
|
2020-02-13 18:40:25 +01:00
|
|
|
assignees: ''
|
|
|
|
|
|
|
|
---
|
|
|
|
<!-- Please, prefix the report title with the language it applies to within brackets, such as [java] or [apex] -->
|
|
|
|
|
|
|
|
**Proposed Rule Name:**
|
|
|
|
|
|
|
|
**Proposed Category:** One of [Best Practices | Code Style | Design | Documentation | Error Prone | Multithreading | Performance | Security]
|
|
|
|
|
|
|
|
**Description:**
|
|
|
|
|
|
|
|
**Code Sample:** This should include code, that should be flagged by the rule. If possible, the "correct" code
|
|
|
|
according to this new rule should also be demonstrated.
|
|
|
|
|
2022-10-06 17:41:39 +02:00
|
|
|
```java
|
2020-02-13 18:40:25 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
**Possible Properties:**
|
|
|
|
|
|
|
|
* Should this rule be customizable via properties?
|
|
|
|
|