Skip to content

Commit 5584bd7

Browse files
committed
Version v0.0.4
1 parent bf8e06e commit 5584bd7

File tree

6 files changed

+33
-4
lines changed

6 files changed

+33
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.elegoff</groupId>
88
<artifactId>rust-report</artifactId>
9-
<version>0.0.4-SNAPSHOT</version>
9+
<version>0.0.4</version>
1010

1111
<packaging>pom</packaging>
1212

rust-checks/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.elegoff</groupId>
77
<artifactId>rust-report</artifactId>
8-
<version>0.0.4-SNAPSHOT</version>
8+
<version>0.0.4</version>
99
</parent>
1010

1111
<artifactId>rust-checks</artifactId>

rust-frontend/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.elegoff</groupId>
77
<artifactId>rust-report</artifactId>
8-
<version>0.0.4-SNAPSHOT</version>
8+
<version>0.0.4</version>
99
</parent>
1010

1111
<artifactId>rust-frontend</artifactId>

sonar-rust-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.elegoff</groupId>
99
<artifactId>rust-report</artifactId>
10-
<version>0.0.4-SNAPSHOT</version>
10+
<version>0.0.4</version>
1111
</parent>
1212
<artifactId>sonar-rust-plugin</artifactId>
1313
<packaging>sonar-plugin</packaging>

sonar-rust-plugin/src/main/java/org/elegoff/plugins/rust/coverage/RustFileSystem.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/**
2+
* Sonar Rust Plugin (Community)
3+
* Copyright (C) 2021 Eric Le Goff
4+
* http://github.com/elegoff/sonar-rust
5+
*
6+
* This program is free software; you can redistribute it and/or
7+
* modify it under the terms of the GNU Lesser General Public
8+
* License as published by the Free Software Foundation; either
9+
* version 3 of the License, or (at your option) any later version.
10+
*
11+
* This program is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14+
* Lesser General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU Lesser General Public License
17+
* along with this program; if not, write to the Free Software Foundation,
18+
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19+
*/
120
package org.elegoff.plugins.rust.coverage;
221

322
import org.apache.commons.io.FileUtils;

sonar-rust-plugin/src/main/resources/org/elegoff/l10n/rust/rules/clippy/clippylints.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
"name": "Checks for `foo = bar; bar = foo` sequences.",
1010
"url": "https://rust-lang.github.io/rust-clippy/master/index.html#almost_swapped"
1111
},
12+
{
13+
"key": "clippy::append_instead_of_extend",
14+
"name": "Checks for occurrences where one vector gets extended instead of append",
15+
"url": "https://rust-lang.github.io/rust-clippy/master/index.html#append_instead_of_extend"
16+
},
1217
{
1318
"key": "clippy::approx_constant",
1419
"name": "Checks for floating point literals that approximate\nconstants which are defined in\n[`std::f32::const",
@@ -319,6 +324,11 @@
319324
"name": "Denies the configured methods and functions in clippy.toml",
320325
"url": "https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_method"
321326
},
327+
{
328+
"key": "clippy::disallowed_type",
329+
"name": "Denies the configured types in clippy.toml.",
330+
"url": "https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_type"
331+
},
322332
{
323333
"key": "clippy::diverging_sub_expression",
324334
"name": "Checks for diverging calls that are not match arms or\nstatements.",

0 commit comments

Comments
 (0)