diff --git a/src/schema/configuration.schema.json b/src/schema/configuration.schema.json index f1582d1cb..c911c3748 100644 --- a/src/schema/configuration.schema.json +++ b/src/schema/configuration.schema.json @@ -338,13 +338,13 @@ }, "numberOfDependentsLessThan": { "type": "integer", - "description": "Matches when the number of times the 'to' module is used falls below (<) this number. Caveat: only works in concert with path and pathNot restrictions in the from and to parts of the rule; other conditions will be ignored.E.g. to flag modules that are used only once or not at all, use 2 here.", + "description": "Matches when the number of times the 'to' module is used falls below (<) this number. Caveat: only works in concert with path and pathNot restrictions in the from and to parts of the rule; other conditions will be ignored. E.g. to flag modules that are used only once or not at all, use 2 here.", "minimum": 0, "maximum": 100 }, "numberOfDependentsMoreThan": { "type": "integer", - "description": "Matches when the number of times the 'to' module is used raises above (>) this number. Caveat: only works in concert with path and pathNot restrictions in the from and to parts of the rule; other conditions will be ignored.E.g. to flag modules that are used more than 10 times, use 10 here.", + "description": "Matches when the number of times the 'to' module is used raises above (>) this number. Caveat: only works in concert with path and pathNot restrictions in the from and to parts of the rule; other conditions will be ignored. E.g. to flag modules that are used more than 10 times, use 10 here.", "minimum": 0, "maximum": 100 } diff --git a/src/schema/cruise-result.schema.json b/src/schema/cruise-result.schema.json index dc0bf18a6..9adad977a 100644 --- a/src/schema/cruise-result.schema.json +++ b/src/schema/cruise-result.schema.json @@ -835,13 +835,13 @@ }, "numberOfDependentsLessThan": { "type": "integer", - "description": "Matches when the number of times the 'to' module is used falls below (<) this number. Caveat: only works in concert with path and pathNot restrictions in the from and to parts of the rule; other conditions will be ignored.E.g. to flag modules that are used only once or not at all, use 2 here.", + "description": "Matches when the number of times the 'to' module is used falls below (<) this number. Caveat: only works in concert with path and pathNot restrictions in the from and to parts of the rule; other conditions will be ignored. E.g. to flag modules that are used only once or not at all, use 2 here.", "minimum": 0, "maximum": 100 }, "numberOfDependentsMoreThan": { "type": "integer", - "description": "Matches when the number of times the 'to' module is used raises above (>) this number. Caveat: only works in concert with path and pathNot restrictions in the from and to parts of the rule; other conditions will be ignored.E.g. to flag modules that are used more than 10 times, use 10 here.", + "description": "Matches when the number of times the 'to' module is used raises above (>) this number. Caveat: only works in concert with path and pathNot restrictions in the from and to parts of the rule; other conditions will be ignored. E.g. to flag modules that are used more than 10 times, use 10 here.", "minimum": 0, "maximum": 100 } diff --git a/tools/schema/restrictions.mjs b/tools/schema/restrictions.mjs index a013394f8..27150941d 100644 --- a/tools/schema/restrictions.mjs +++ b/tools/schema/restrictions.mjs @@ -236,7 +236,7 @@ export default { description: "Matches when the number of times the 'to' module is used falls below (<) " + "this number. Caveat: only works in concert with path and pathNot restrictions " + - "in the from and to parts of the rule; other conditions will be ignored." + + "in the from and to parts of the rule; other conditions will be ignored. " + "E.g. to flag modules that are used only once or not at all, use 2 here.", minimum: 0, maximum: 100, @@ -246,7 +246,7 @@ export default { description: "Matches when the number of times the 'to' module is used raises above (>) " + "this number. Caveat: only works in concert with path and pathNot restrictions " + - "in the from and to parts of the rule; other conditions will be ignored." + + "in the from and to parts of the rule; other conditions will be ignored. " + "E.g. to flag modules that are used more than 10 times, use 10 here.", minimum: 0, maximum: 100,