Skip to content

Commit

Permalink
Remove trailing dots at the end of descriptions to stick to Sonar way.
Browse files Browse the repository at this point in the history
  • Loading branch information
natixis-caen committed Aug 27, 2024
1 parent 4a01c17 commit ef5b16e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
28 changes: 14 additions & 14 deletions eslint-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,20 @@ Add `@ecocode` to the `plugins` section of your `.eslintrc`, followed by rules c
⚠️ Configurations set to warn in.\
✅ Set in the `recommended` configuration.

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

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

Expand Down
2 changes: 1 addition & 1 deletion eslint-plugin/lib/rules/avoid-high-accuracy-geolocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
meta: {
type: "suggestion",
docs: {
description: "Avoid using high accuracy geolocation in web applications.",
description: "Avoid using high accuracy geolocation in web applications",
category: "eco-design",
recommended: "warn",
},
Expand Down
2 changes: 1 addition & 1 deletion eslint-plugin/lib/rules/no-multiple-access-dom-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
meta: {
type: "suggestion",
docs: {
description: "Disallow multiple access of same DOM element.",
description: "Disallow multiple access of same DOM element",
category: "eco-design",
recommended: "warn",
},
Expand Down
2 changes: 1 addition & 1 deletion eslint-plugin/lib/rules/no-multiple-style-changes.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
meta: {
type: "suggestion",
docs: {
description: "Disallow multiple style changes at once.",
description: "Disallow multiple style changes at once",
category: "eco-design",
recommended: "warn",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = {
name: "prefer-collections-with-pagination",
meta: {
docs: {
description: "Prefer API collections with pagination.",
description: "Prefer API collections with pagination",
category: "eco-design",
recommended: "warn",
},
Expand Down

0 comments on commit ef5b16e

Please sign in to comment.