@@ -59,7 +59,7 @@ function requireDescriptionCompleteSentence(node, err) {
5959 if ( START_DESCRIPTION . test ( doc . description ) ) {
6060 var matches = returnAllMatches ( doc . description , START_DESCRIPTION ) ;
6161 matches . map ( function ( match ) {
62- match . message = 'Description must start with an upper case letter. ' ;
62+ match . message = 'Description must start with an upper case letter' ;
6363 match . index = match . start ;
6464 } ) ;
6565 errors = errors . concat ( matches ) ;
@@ -68,7 +68,7 @@ function requireDescriptionCompleteSentence(node, err) {
6868 if ( RE_NEW_LINE_START_WITH_UPPER_CASE . test ( doc . description ) ) {
6969 var matches1 = returnAllMatches ( doc . description , RE_NEW_LINE_START_WITH_UPPER_CASE ) ;
7070 matches1 . map ( function ( match ) {
71- match . message = 'Sentence must start with an upper case letter. ' ;
71+ match . message = 'Sentence must start with an upper case letter' ;
7272 match . index = match . end - 1 ;
7373 } ) ;
7474 errors = errors . concat ( matches1 ) ;
@@ -77,7 +77,7 @@ function requireDescriptionCompleteSentence(node, err) {
7777 if ( RE_END_WITH_PERIOD . test ( doc . description ) ) {
7878 var matches2 = returnAllMatches ( doc . description , RE_END_WITH_PERIOD ) ;
7979 matches2 . map ( function ( match ) {
80- match . message = 'Sentence must end with a period. ' ;
80+ match . message = 'Sentence must end with a period' ;
8181 match . index = match . start ;
8282 } ) ;
8383 errors = errors . concat ( matches2 ) ;
@@ -87,7 +87,7 @@ function requireDescriptionCompleteSentence(node, err) {
8787 var matches3 = returnAllMatches ( doc . description , RE_NEW_LINE_UPPERCASE ) ;
8888 matches3 . map ( function ( match ) {
8989 match . message = 'You started a new line with an upper case letter but ' +
90- 'previous line does not end with a period. ' ;
90+ 'previous line does not end with a period' ;
9191 match . index = match . end - 1 ;
9292 } ) ;
9393 errors = errors . concat ( matches3 ) ;
0 commit comments