jscs-dev / jscs-jsdoc

JsDoc validation rules for jscs
MIT License
99 stars 35 forks source link

requireDescriptionCompleteSentence: fails to recognize inlined links. #180

Closed byuksel closed 8 years ago

byuksel commented 8 years ago
jsDoc: Sentence must start with an upper case letter at lib/geometry.js :
    73 | *
    74 | * This method uses the algorithm defined here:
    75 | * {@link http://stackoverflow.com/questions/1073336/circle-line-segment-collision-detection-algorithm}
---------------------------------------^
    76 | *
    77 | *
qfox commented 8 years ago

@byuksel Thanks for the report. I've made a test case:

({
it: 'should not report inlined tags #180',
code: function () {
    /**
     * Heading
     *
     * This method uses the algorithm defined here:
     * {@link http://stackoverflow.com/questions/1073336/circle-line-segment-collision-detection-algorithm}
     */
    function fun(p) {}
}
})

But it doesn't produce any errors ;-( Can you provide some more info about it?

qfox commented 8 years ago

Found another minor bug :cactus: Thanks again! Fixed both of them.