tclindner / npm-package-json-lint

Configurable linter for package.json files

Home Page:https://npmpackagejsonlint.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forbidEndingPeriod

piranna opened this issue · comments

if (config.hasOwnProperty('requireEndingPeriod') && config.requireEndingPeriod && !description.endsWith('.')) {

The same that there's a requireEndingPeriod option, add a new one for forbidEndingPeriod, or allow it to be three state.

I like it! Thanks for the suggestion. I’ll take a stab when I review the other ticket you commented on.

v4.6.0 has been released with the new option. I'll consolidate them in v5.0.0 (breaking change).

Cool, thanks! :-D