Compare commits
1 Commits
master
...
rule/S5338
Author | SHA1 | Date | |
---|---|---|---|
![]() |
93961180fa |
2
rules/S5338/ansible/metadata.json
Normal file
2
rules/S5338/ansible/metadata.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
44
rules/S5338/ansible/rule.adoc
Normal file
44
rules/S5338/ansible/rule.adoc
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
FIXME: add a description
|
||||||
|
|
||||||
|
// If you want to factorize the description uncomment the following line and create the file.
|
||||||
|
//include::../description.adoc[]
|
||||||
|
|
||||||
|
== Why is this an issue?
|
||||||
|
|
||||||
|
FIXME: remove the unused optional headers (that are commented out)
|
||||||
|
|
||||||
|
//=== What is the potential impact?
|
||||||
|
|
||||||
|
== How to fix it
|
||||||
|
//== How to fix it in FRAMEWORK NAME
|
||||||
|
|
||||||
|
=== Code examples
|
||||||
|
|
||||||
|
==== Noncompliant code example
|
||||||
|
|
||||||
|
[source,yaml,diff-id=1,diff-type=noncompliant]
|
||||||
|
----
|
||||||
|
FIXME
|
||||||
|
----
|
||||||
|
|
||||||
|
==== Compliant solution
|
||||||
|
|
||||||
|
[source,yaml,diff-id=1,diff-type=compliant]
|
||||||
|
----
|
||||||
|
FIXME
|
||||||
|
----
|
||||||
|
|
||||||
|
//=== How does this work?
|
||||||
|
|
||||||
|
//=== Pitfalls
|
||||||
|
|
||||||
|
//=== Going the extra mile
|
||||||
|
|
||||||
|
|
||||||
|
//== Resources
|
||||||
|
//=== Documentation
|
||||||
|
//=== Articles & blog posts
|
||||||
|
//=== Conference presentations
|
||||||
|
//=== Standards
|
||||||
|
//=== External coding guidelines
|
||||||
|
//=== Benchmarks
|
@ -1,23 +1,2 @@
|
|||||||
{
|
{
|
||||||
"title": "Some Java packages or classes should not be used",
|
|
||||||
"type": "BUG",
|
|
||||||
"status": "closed",
|
|
||||||
"tags": [
|
|
||||||
|
|
||||||
],
|
|
||||||
"extra": {
|
|
||||||
"replacementRules": [
|
|
||||||
|
|
||||||
],
|
|
||||||
"legacyKeys": [
|
|
||||||
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"defaultSeverity": "Blocker",
|
|
||||||
"ruleSpecification": "RSPEC-5338",
|
|
||||||
"sqKey": "S5338",
|
|
||||||
"scope": "All",
|
|
||||||
"defaultQualityProfiles": [
|
|
||||||
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,23 @@
|
|||||||
{
|
{
|
||||||
|
"title": "Some Java packages or classes should not be used",
|
||||||
|
"type": "BUG",
|
||||||
|
"status": "closed",
|
||||||
|
"tags": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"extra": {
|
||||||
|
"replacementRules": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"legacyKeys": [
|
||||||
|
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"defaultSeverity": "Blocker",
|
||||||
|
"ruleSpecification": "RSPEC-5338",
|
||||||
|
"sqKey": "S5338",
|
||||||
|
"scope": "All",
|
||||||
|
"defaultQualityProfiles": [
|
||||||
|
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user