Skip to content

Commit d14c070

Browse files
authored
Merge pull request #78 from insideapp-oss/develop
Release 0.4.0
2 parents 091d221 + 33aee15 commit d14c070

File tree

6 files changed

+16
-13
lines changed

6 files changed

+16
-13
lines changed

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
close-issues:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v3
10+
- uses: actions/stale@v4.0.0
1111
with:
1212
days-before-issue-stale: 90
1313
days-before-issue-close: 14

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ Changelog is available [here](https://github.com/insideapp-oss/sonar-flutter/blo
3232

3333
### Flutter SDK
3434

35-
Install Flutter as explained on the official documentaiton page.
35+
Install Flutter as explained on the official documentation page.
3636

3737
[Installation instructions](https://flutter.dev/docs/get-started/install)
3838

3939
### Dart
4040

4141
Dart is downloaded by the Flutter SDK in **$FLUTTER_HOME/bin/cache/dart-sdk**, however command lines are not on the path by default (dartanalyzer must be on the path).
4242

43-
It is recommanded to install Dart SDK separately as explained here : [Install the Dart SDK](https://dart.dev/get-dart) for more reliability in a CI/CD environement.
43+
It is recommended to install Dart SDK separately as explained here : [Install the Dart SDK](https://dart.dev/get-dart) for more reliability in a CI/CD environment.
4444

4545
### sonar-scanner (requires Java)
4646

dart-lang/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>sonar-flutter</artifactId>
55
<groupId>fr.insideapp.sonarqube</groupId>
6-
<version>0.3.2</version>
6+
<version>0.4.0</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99

pom.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<parent>
66
<groupId>org.sonarsource.parent</groupId>
77
<artifactId>parent</artifactId>
8-
<version>52</version>
8+
<version>59.0.29</version>
99
</parent>
1010

1111
<groupId>fr.insideapp.sonarqube</groupId>
1212
<artifactId>sonar-flutter</artifactId>
13-
<version>0.3.2</version>
13+
<version>0.4.0</version>
1414

1515
<packaging>pom</packaging>
1616

@@ -31,7 +31,7 @@
3131
<licenses>
3232
<license>
3333
<name>GNU LGPL 3</name>
34-
<url>http://www.gnu.org/licenses/lgpl.txt</url>
34+
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
3535
<distribution>repo</distribution>
3636
</license>
3737
</licenses>
@@ -58,8 +58,6 @@
5858

5959
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
6060

61-
<sonarQubeMinVersion>6.7</sonarQubeMinVersion>
62-
6361
<assertj.version>3.5.2</assertj.version>
6462
<guava.version>17.0</guava.version>
6563
<junit.version>4.10</junit.version>
@@ -70,7 +68,7 @@
7068
<sonar-orchestrator.version>3.22.0.1791</sonar-orchestrator.version>
7169
<sonarlint.version>4.0.0.2052</sonarlint.version>
7270
<sslr.version>1.23</sslr.version>
73-
<sslr-squid-bridge.version>2.6.1</sslr-squid-bridge.version>
71+
<sslr-squid-bridge.version>2.7.1.392</sslr-squid-bridge.version>
7472
<ant.version>1.6</ant.version>
7573
<analyzer-commons.version>1.10.2.456</analyzer-commons.version>
7674
<assertj.version>3.5.2</assertj.version>

scripts/updateDartAnalyzerRules.groovy

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,12 @@ def assignType(key) {
8282
}
8383

8484
if (grandParentNode.name.text() == 'Reliability') {
85-
return "BUG"
85+
86+
// See https://github.com/insideapp-oss/sonar-flutter/pull/32
87+
if (!ruleNode.name.text().startsWith('prefer_final')) {
88+
return "BUG"
89+
}
90+
8691
}
8792
}
8893

sonar-flutter-plugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>sonar-flutter</artifactId>
66
<groupId>fr.insideapp.sonarqube</groupId>
7-
<version>0.3.2</version>
7+
<version>0.4.0</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010

@@ -17,7 +17,7 @@
1717
<dependency>
1818
<groupId>fr.insideapp.sonarqube</groupId>
1919
<artifactId>dart-lang</artifactId>
20-
<version>0.3.2</version>
20+
<version>0.4.0</version>
2121
</dependency>
2222

2323
</dependencies>

0 commit comments

Comments
 (0)