Skip to content

Commit 88f947e

Browse files
authored
Remove trailing dots in Sonar rules descriptions (#52)
1 parent 4a01c17 commit 88f947e

File tree

6 files changed

+19
-18
lines changed

6 files changed

+19
-18
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
### Changed
1717

1818
- [#44](https://github.com/green-code-initiative/ecoCode-javascript/pull/44) Implement the rule EC523 for React Native
19+
- [#52](https://github.com/green-code-initiative/ecoCode-javascript/pull/52) Remove trailing dots in Sonar rules descriptions
1920
- Update Docker Compose configuration file to V2
2021

2122
### Deleted

eslint-plugin/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,20 @@ Add `@ecocode` to the `plugins` section of your `.eslintrc`, followed by rules c
6767
⚠️ Configurations set to warn in.\
6868
✅ Set in the `recommended` configuration.
6969

70-
| Name | Description | ⚠️ |
71-
| :------------------------------------------------------------------------------------- | :--------------------------------------------------------- | :- |
72-
| [avoid-brightness-override](docs/rules/avoid-brightness-override.md) | Should avoid to override brightness ||
73-
| [avoid-css-animations](docs/rules/avoid-css-animations.md) | Avoid usage of CSS animations ||
74-
| [avoid-high-accuracy-geolocation](docs/rules/avoid-high-accuracy-geolocation.md) | Avoid using high accuracy geolocation in web applications. ||
75-
| [limit-db-query-results](docs/rules/limit-db-query-results.md) | Should limit the number of returns for a SQL query ||
76-
| [no-empty-image-src-attribute](docs/rules/no-empty-image-src-attribute.md) | Disallow usage of image with empty source attribute ||
77-
| [no-import-all-from-library](docs/rules/no-import-all-from-library.md) | Should not import all from library ||
78-
| [no-multiple-access-dom-element](docs/rules/no-multiple-access-dom-element.md) | Disallow multiple access of same DOM element. ||
79-
| [no-multiple-style-changes](docs/rules/no-multiple-style-changes.md) | Disallow multiple style changes at once. ||
80-
| [no-torch](docs/rules/no-torch.md) | Should not programmatically enable torch mode ||
81-
| [prefer-collections-with-pagination](docs/rules/prefer-collections-with-pagination.md) | Prefer API collections with pagination. ||
82-
| [prefer-shorthand-css-notations](docs/rules/prefer-shorthand-css-notations.md) | Encourage usage of shorthand CSS notations ||
83-
| [provide-print-css](docs/rules/provide-print-css.md) | Enforce providing a print stylesheet ||
70+
| Name | Description | ⚠️ |
71+
| :------------------------------------------------------------------------------------- | :-------------------------------------------------------- | :- |
72+
| [avoid-brightness-override](docs/rules/avoid-brightness-override.md) | Should avoid to override brightness ||
73+
| [avoid-css-animations](docs/rules/avoid-css-animations.md) | Avoid usage of CSS animations ||
74+
| [avoid-high-accuracy-geolocation](docs/rules/avoid-high-accuracy-geolocation.md) | Avoid using high accuracy geolocation in web applications ||
75+
| [limit-db-query-results](docs/rules/limit-db-query-results.md) | Should limit the number of returns for a SQL query ||
76+
| [no-empty-image-src-attribute](docs/rules/no-empty-image-src-attribute.md) | Disallow usage of image with empty source attribute ||
77+
| [no-import-all-from-library](docs/rules/no-import-all-from-library.md) | Should not import all from library ||
78+
| [no-multiple-access-dom-element](docs/rules/no-multiple-access-dom-element.md) | Disallow multiple access of same DOM element ||
79+
| [no-multiple-style-changes](docs/rules/no-multiple-style-changes.md) | Disallow multiple style changes at once ||
80+
| [no-torch](docs/rules/no-torch.md) | Should not programmatically enable torch mode ||
81+
| [prefer-collections-with-pagination](docs/rules/prefer-collections-with-pagination.md) | Prefer API collections with pagination ||
82+
| [prefer-shorthand-css-notations](docs/rules/prefer-shorthand-css-notations.md) | Encourage usage of shorthand CSS notations ||
83+
| [provide-print-css](docs/rules/provide-print-css.md) | Enforce providing a print stylesheet ||
8484

8585
<!-- end auto-generated rules list -->
8686

eslint-plugin/lib/rules/avoid-high-accuracy-geolocation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
meta: {
2828
type: "suggestion",
2929
docs: {
30-
description: "Avoid using high accuracy geolocation in web applications.",
30+
description: "Avoid using high accuracy geolocation in web applications",
3131
category: "eco-design",
3232
recommended: "warn",
3333
},

eslint-plugin/lib/rules/no-multiple-access-dom-element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
meta: {
2424
type: "suggestion",
2525
docs: {
26-
description: "Disallow multiple access of same DOM element.",
26+
description: "Disallow multiple access of same DOM element",
2727
category: "eco-design",
2828
recommended: "warn",
2929
},

eslint-plugin/lib/rules/no-multiple-style-changes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
meta: {
2424
type: "suggestion",
2525
docs: {
26-
description: "Disallow multiple style changes at once.",
26+
description: "Disallow multiple style changes at once",
2727
category: "eco-design",
2828
recommended: "warn",
2929
},

eslint-plugin/lib/rules/prefer-collections-with-pagination.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module.exports = {
6666
name: "prefer-collections-with-pagination",
6767
meta: {
6868
docs: {
69-
description: "Prefer API collections with pagination.",
69+
description: "Prefer API collections with pagination",
7070
category: "eco-design",
7171
recommended: "warn",
7272
},

0 commit comments

Comments
 (0)