From f00224cd9018e9f004f57e9a808c9cf22929442b Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 3 Nov 2017 12:27:00 +0100 Subject: [PATCH] [javascript] Update rule category descriptions --- .../src/main/resources/category/ecmascript/bestpractices.xml | 2 +- .../src/main/resources/category/ecmascript/design.xml | 2 +- .../src/main/resources/category/ecmascript/errorprone.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pmd-javascript/src/main/resources/category/ecmascript/bestpractices.xml b/pmd-javascript/src/main/resources/category/ecmascript/bestpractices.xml index 07bcba9c5b..0c012e9609 100644 --- a/pmd-javascript/src/main/resources/category/ecmascript/bestpractices.xml +++ b/pmd-javascript/src/main/resources/category/ecmascript/bestpractices.xml @@ -6,7 +6,7 @@ xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd"> -Rules which help to follow best practices. +Rules which enforce generally accepted best practices. -Rules that flag certain design flaws. +Rules that help you discover design issues. diff --git a/pmd-javascript/src/main/resources/category/ecmascript/errorprone.xml b/pmd-javascript/src/main/resources/category/ecmascript/errorprone.xml index 62d95eb917..6ece0ac336 100644 --- a/pmd-javascript/src/main/resources/category/ecmascript/errorprone.xml +++ b/pmd-javascript/src/main/resources/category/ecmascript/errorprone.xml @@ -6,7 +6,7 @@ xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd"> -Rules which flag certain language construct which can lead to abnormal behavior at runtime. +Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors.