Skip to content

Commit a79a205

Browse files
Release version 2.2.0
1 parent 2ed1346 commit a79a205

File tree

5 files changed

+58
-61
lines changed

5 files changed

+58
-61
lines changed

CHANGELOG.md

Lines changed: 53 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -7,119 +7,116 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.2.0] - 2026-01-15
11+
1012
### Added
1113

12-
- [#51](https://github.com/green-code-initiative/creedengo-javascript/pull/51) Add ESLint v9 and flat config support
13-
- [#95](https://github.com/green-code-initiative/creedengo-javascript/pull/95) Add support for SonarQube up to 25.8
14+
- [#51](https://github.com/green-code-initiative/creedengo-javascript/pull/51) Add ESLint v9 and flat config support
15+
- [#95](https://github.com/green-code-initiative/creedengo-javascript/pull/95) Add support for SonarQube up to 25.8
1416

1517
### Changed
1618

17-
- [#79](https://github.com/green-code-initiative/creedengo-javascript/pull/79) Integrate the test project alongside the plugin
19+
- [#79](https://github.com/green-code-initiative/creedengo-javascript/pull/79) Integrate the test project alongside the plugin
1820

1921
## [2.1.0] - 2025-03-31
2022

2123
### Added
2224

23-
- [#40](https://github.com/green-code-initiative/creedengo-javascript/pull/40) Add rule `@creedengo/avoid-autoplay` (GCI36)
24-
- [#45](https://github.com/green-code-initiative/creedengo-javascript/pull/45) Add rule `@creedengo/avoid-keep-awake` (GCI505)
25-
- [#46](https://github.com/green-code-initiative/creedengo-javascript/pull/46) Add rule `@creedengo/prefer-lighter-formats-for-image-files` (GCI31)
26-
- [#68](https://github.com/green-code-initiative/creedengo-javascript/pull/68) Add support for SonarQube up to 25.3
25+
- [#40](https://github.com/green-code-initiative/creedengo-javascript/pull/40) Add rule `@creedengo/avoid-autoplay` (GCI36)
26+
- [#45](https://github.com/green-code-initiative/creedengo-javascript/pull/45) Add rule `@creedengo/avoid-keep-awake` (GCI505)
27+
- [#46](https://github.com/green-code-initiative/creedengo-javascript/pull/46) Add rule `@creedengo/prefer-lighter-formats-for-image-files` (GCI31)
28+
- [#68](https://github.com/green-code-initiative/creedengo-javascript/pull/68) Add support for SonarQube up to 25.3
2729

2830
### Fixed
2931

30-
- [#69](https://github.com/green-code-initiative/creedengo-javascript/pull/69) Only support string literals (GCI11)
31-
- [#70](https://github.com/green-code-initiative/creedengo-javascript/pull/70) Only support SQL queries within standard methods (GCI24)
32-
- [#71](https://github.com/green-code-initiative/creedengo-javascript/pull/71) Avoid triggering an exception (GCI12)
33-
- [#73](https://github.com/green-code-initiative/creedengo-javascript/pull/73) Avoid false-positive with nested objects (GCI12)
32+
- [#69](https://github.com/green-code-initiative/creedengo-javascript/pull/69) Only support string literals (GCI11)
33+
- [#70](https://github.com/green-code-initiative/creedengo-javascript/pull/70) Only support SQL queries within standard methods (GCI24)
34+
- [#71](https://github.com/green-code-initiative/creedengo-javascript/pull/71) Avoid triggering an exception (GCI12)
35+
- [#73](https://github.com/green-code-initiative/creedengo-javascript/pull/73) Avoid false-positive with nested objects (GCI12)
3436

3537
## [2.0.0] - 2025-01-22
3638

3739
### Added
3840

39-
- [#39](https://github.com/green-code-initiative/creedengo-javascript/issues/39) Add rule `@creedengo/avoid-brightness-override` (GCI522)
40-
- [#41](https://github.com/green-code-initiative/creedengo-javascript/pull/41) Add rule `@creedengo/no-torch` (GCI530)
41-
- [#58](https://github.com/green-code-initiative/creedengo-javascript/pull/58) Add support for SonarQube up to 25.1
41+
- [#39](https://github.com/green-code-initiative/creedengo-javascript/issues/39) Add rule `@creedengo/avoid-brightness-override` (GCI522)
42+
- [#41](https://github.com/green-code-initiative/creedengo-javascript/pull/41) Add rule `@creedengo/no-torch` (GCI530)
43+
- [#58](https://github.com/green-code-initiative/creedengo-javascript/pull/58) Add support for SonarQube up to 25.1
4244

4345
### Changed
4446

45-
- [#56](https://github.com/green-code-initiative/creedengo-javascript/issues/56) **BREAKING:** Rename plugin to creedengo-javascript
46-
- [#44](https://github.com/green-code-initiative/creedengo-javascript/pull/44) Implement the rule GCI523 for React Native
47-
- [#52](https://github.com/green-code-initiative/creedengo-javascript/pull/52) Remove trailing dots in Sonar rules descriptions
48-
- [#62](https://github.com/green-code-initiative/creedengo-javascript/pull/62) Fix style attribute checks in GCI26 and GCI29
49-
- Update Docker Compose configuration file to V2
47+
- [#56](https://github.com/green-code-initiative/creedengo-javascript/issues/56) **BREAKING:** Rename plugin to creedengo-javascript
48+
- [#44](https://github.com/green-code-initiative/creedengo-javascript/pull/44) Implement the rule GCI523 for React Native
49+
- [#52](https://github.com/green-code-initiative/creedengo-javascript/pull/52) Remove trailing dots in Sonar rules descriptions
50+
- [#62](https://github.com/green-code-initiative/creedengo-javascript/pull/62) Fix style attribute checks in GCI26 and GCI29
51+
- Update Docker Compose configuration file to V2
5052

5153
### Deleted
5254

53-
- [#44](https://github.com/green-code-initiative/creedengo-javascript/pull/44) Merge the rule EC8 with GCI523
55+
- [#44](https://github.com/green-code-initiative/creedengo-javascript/pull/44) Merge the rule EC8 with GCI523
5456

5557
## [1.5.0] - 2024-03-13
5658

5759
### Added
5860

59-
- Add support for SonarQube up to 10.4
60-
- [#30](https://github.com/green-code-initiative/ecoCode-javascript/issues/30) EC24: define the WHERE clause as a limiting keyword
61-
- [#32](https://github.com/green-code-initiative/ecoCode-javascript/pull/32) Add support for SonarQube 10.4 "DownloadOnlyWhenRequired" feature
62-
- [ecoCode#185](https://github.com/green-code-initiative/ecoCode/issues/185) Add build number to manifest
61+
- Add support for SonarQube up to 10.4
62+
- [#30](https://github.com/green-code-initiative/ecoCode-javascript/issues/30) EC24: define the WHERE clause as a limiting keyword
63+
- [#32](https://github.com/green-code-initiative/ecoCode-javascript/pull/32) Add support for SonarQube 10.4 "DownloadOnlyWhenRequired" feature
64+
- [ecoCode#185](https://github.com/green-code-initiative/ecoCode/issues/185) Add build number to manifest
6365

6466
### Changed
6567

66-
- [#30](https://github.com/green-code-initiative/ecoCode-javascript/issues/30) Improve documentation and clean code taxonomy of all rules
68+
- [#30](https://github.com/green-code-initiative/ecoCode-javascript/issues/30) Improve documentation and clean code taxonomy of all rules
6769

6870
### Fixed
6971

70-
- [#30](https://github.com/green-code-initiative/ecoCode-javascript/issues/30) Fix typo in EC12 rule
72+
- [#30](https://github.com/green-code-initiative/ecoCode-javascript/issues/30) Fix typo in EC12 rule
7173

7274
## [1.4.0] - 2023-10-30
7375

7476
### Added
7577

76-
- [#14](https://github.com/green-code-initiative/ecoCode-javascript/pull/14) Create SonarQube plugin
77-
- [#21](https://github.com/green-code-initiative/ecoCode-javascript/pull/21) Add rule `@ecocode/avoid-css-animations` (EC29)
78-
- [#18](https://github.com/green-code-initiative/ecoCode-javascript/pull/18) Add rule `@ecocode/limit-db-query-results` (EC24)
79-
- [#19](https://github.com/green-code-initiative/ecoCode-javascript/pull/19) Add rule `@ecocode/no-empty-image-src-attribute` (EC25)
80-
- [#20](https://github.com/green-code-initiative/ecoCode-javascript/pull/20) Add rule `@ecocode/prefer-shorthand-css-notations` (EC26)
81-
- [#22](https://github.com/green-code-initiative/ecoCode-javascript/pull/22) Add rule `@ecocode/provide-print-css` (EC30)
82-
- [#25](https://github.com/green-code-initiative/ecoCode-javascript/pull/25) Add license headers
83-
- [ecoCode#207](https://github.com/green-code-initiative/ecoCode/issues/207) Add release tag analyzis on SonarCloud
78+
- [#14](https://github.com/green-code-initiative/ecoCode-javascript/pull/14) Create SonarQube plugin
79+
- [#21](https://github.com/green-code-initiative/ecoCode-javascript/pull/21) Add rule `@ecocode/avoid-css-animations` (EC29)
80+
- [#18](https://github.com/green-code-initiative/ecoCode-javascript/pull/18) Add rule `@ecocode/limit-db-query-results` (EC24)
81+
- [#19](https://github.com/green-code-initiative/ecoCode-javascript/pull/19) Add rule `@ecocode/no-empty-image-src-attribute` (EC25)
82+
- [#20](https://github.com/green-code-initiative/ecoCode-javascript/pull/20) Add rule `@ecocode/prefer-shorthand-css-notations` (EC26)
83+
- [#22](https://github.com/green-code-initiative/ecoCode-javascript/pull/22) Add rule `@ecocode/provide-print-css` (EC30)
84+
- [#25](https://github.com/green-code-initiative/ecoCode-javascript/pull/25) Add license headers
85+
- [ecoCode#207](https://github.com/green-code-initiative/ecoCode/issues/207) Add release tag analyzis on SonarCloud
8486

8587
### Changed
8688

87-
- [#12](https://github.com/green-code-initiative/ecoCode-javascript/issues/12) Pack ESLint plugin into SonarQube plugin
88-
- [#16](https://github.com/green-code-initiative/ecoCode-javascript/pull/16) Use centralized rules specifications
89-
- Update release process through GitHub Actions
90-
- Backport all existing rules into SonarQube plugin
89+
- [#12](https://github.com/green-code-initiative/ecoCode-javascript/issues/12) Pack ESLint plugin into SonarQube plugin
90+
- [#16](https://github.com/green-code-initiative/ecoCode-javascript/pull/16) Use centralized rules specifications
91+
- Update release process through GitHub Actions
92+
- Backport all existing rules into SonarQube plugin
9193

9294
## [0.2.0] - 2023-05-29
9395

9496
### Added
9597

96-
- Add support for TypeScript rules with **typescript-eslint**
97-
- Add rule `@ecocode/avoid-high-accuracy-geolocation`
98-
- Add rule `@ecocode/no-import-all-from-library`
99-
- Add rule `@ecocode/no-multiple-style-changes`
100-
- Add rule `@ecocode/prefer-collections-with-pagination`
98+
- Add support for TypeScript rules with **typescript-eslint**
99+
- Add rule `@ecocode/avoid-high-accuracy-geolocation`
100+
- Add rule `@ecocode/no-import-all-from-library`
101+
- Add rule `@ecocode/no-multiple-style-changes`
102+
- Add rule `@ecocode/prefer-collections-with-pagination`
101103

102104
## [0.1.0] - 2023-03-24
103105

104106
### Added
105107

106-
- First alpha version of the ESLint plugin 🚀
107-
- Add rule `@ecocode/no-multiple-access-dom-element`
108-
- Create tooling script to generate SonarQube rules
109-
- Setup mocha and nyc for tests and coverage
110-
- Setup basic coding style tools
111-
- Write complete contributing guide
112-
113-
[Unreleased]: https://github.com/green-code-initiative/creedengo-javascript/compare/2.1.0...HEAD
108+
- First alpha version of the ESLint plugin 🚀
109+
- Add rule `@ecocode/no-multiple-access-dom-element`
110+
- Create tooling script to generate SonarQube rules
111+
- Setup mocha and nyc for tests and coverage
112+
- Setup basic coding style tools
113+
- Write complete contributing guide
114114

115+
[unreleased]: https://github.com/green-code-initiative/creedengo-javascript/compare/2.2.0...HEAD
116+
[2.2.0]: https://github.com/green-code-initiative/creedengo-javascript/compare/2.1.0...2.2.0
115117
[2.1.0]: https://github.com/green-code-initiative/creedengo-javascript/compare/2.0.0...2.1.0
116-
117118
[2.0.0]: https://github.com/green-code-initiative/creedengo-javascript/compare/1.5.0...2.0.0
118-
119119
[1.5.0]: https://github.com/green-code-initiative/ecoCode-javascript/compare/1.4.0...1.5.0
120-
121120
[1.4.0]: https://github.com/green-code-initiative/ecoCode-javascript/compare/eslint-plugin/0.2.0...1.4.0
122-
123121
[0.2.0]: https://github.com/green-code-initiative/ecoCode-linter/compare/eslint-plugin/0.1.0...eslint-plugin/0.2.0
124-
125122
[0.1.0]: https://github.com/green-code-initiative/ecoCode-linter/compare/6d305511db82bf8faa4833528641535e605dbacf...eslint-plugin/0.1.0

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ services:
1919
SONAR_ES_BOOTSTRAP_CHECKS_DISABLE: "true"
2020
volumes:
2121
- type: bind
22-
source: ./sonar-plugin/target/creedengo-javascript-plugin-2.1.1-SNAPSHOT.jar
23-
target: /opt/sonarqube/extensions/plugins/creedengo-javascript-plugin-2.1.1-SNAPSHOT.jar
22+
source: ./sonar-plugin/target/creedengo-javascript-plugin-2.2.0.jar
23+
target: /opt/sonarqube/extensions/plugins/creedengo-javascript-plugin-2.2.0.jar
2424
- "extensions:/opt/sonarqube/extensions"
2525
- "logs:/opt/sonarqube/logs"
2626
- "data:/opt/sonarqube/data"

eslint-plugin/lib/standalone.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ for (let { ruleName, ruleModule } of rules) {
3737
const plugin = {
3838
meta: {
3939
name: "@creedengo/eslint-plugin",
40-
version: "2.1.0", // dynamically updated by the release workflow
40+
version: "2.2.0", // dynamically updated by the release workflow
4141
},
4242
rules: allRules,
4343
};

eslint-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@creedengo/eslint-plugin",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "JavaScript linter of creedengo project",
55
"keywords": [
66
"eslint",

sonar-plugin/pom.xml

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

66
<groupId>org.green-code-initiative</groupId>
77
<artifactId>creedengo-javascript-plugin</artifactId>
8-
<version>2.1.1-SNAPSHOT</version>
8+
<version>2.2.0</version>
99

1010
<packaging>sonar-plugin</packaging>
1111

0 commit comments

Comments
 (0)