Skip to content

Commit a160d67

Browse files
committed
chore: update jsdoc-type-pratt-parser
Also updates devDeps., lints per latest canonical, resumes CI linting
1 parent 040dcb4 commit a160d67

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ notifications:
1717
email: false
1818
script:
1919
- npm run test
20-
# Disable until eslint-config-canonical fixed
21-
# - 'if [ -n "${LINT-}" ]; then npm run lint; fi'
20+
- 'if [ -n "${LINT-}" ]; then npm run lint; fi'
2221
- npm run build
2322
env:
2423
jobs:

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"comment-parser": "1.2.4",
1010
"debug": "^4.3.2",
1111
"esquery": "^1.4.0",
12-
"jsdoc-type-pratt-parser": "^1.2.0",
12+
"jsdoc-type-pratt-parser": "^2.0.0",
1313
"lodash": "^4.17.21",
1414
"regextras": "^0.8.0",
1515
"semver": "^7.3.5",
@@ -26,23 +26,23 @@
2626
"@babel/preset-env": "^7.15.8",
2727
"@babel/register": "^7.15.3",
2828
"@hkdobrev/run-if-changed": "^0.3.1",
29-
"@typescript-eslint/parser": "^5.0.0",
29+
"@typescript-eslint/parser": "^5.1.0",
3030
"babel-plugin-add-module-exports": "^1.0.4",
31-
"babel-plugin-istanbul": "^6.0.0",
31+
"babel-plugin-istanbul": "^6.1.1",
3232
"chai": "^4.3.4",
3333
"cross-env": "^7.0.3",
34-
"eslint": "^8.0.0",
35-
"eslint-config-canonical": "^28.0.0",
34+
"eslint": "^8.0.1",
35+
"eslint-config-canonical": "^30.0.0",
3636
"gitdown": "^3.1.4",
3737
"glob": "^7.2.0",
38-
"husky": "^7.0.2",
39-
"lint-staged": "^11.2.1",
40-
"mocha": "^9.1.2",
38+
"husky": "^7.0.4",
39+
"lint-staged": "^11.2.3",
40+
"mocha": "^9.1.3",
4141
"nyc": "^15.1.0",
4242
"open-editor": "^3.0.0",
4343
"rimraf": "^3.0.2",
4444
"semantic-release": "^18.0.0",
45-
"typescript": "^4.4.3"
45+
"typescript": "^4.4.4"
4646
},
4747
"engines": {
4848
"node": "^12 || ^14 || ^16 || ^17"

src/rules/requireDescriptionCompleteSentence.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ const extractSentences = (text, abbreviationsRegex) => {
2626
.replace(abbreviationsRegex, '');
2727

2828
const sentenceEndGrouping = /([.?!])(?:\s+|$)/u;
29+
30+
// eslint-disable-next-line unicorn/no-array-method-this-argument
2931
const puncts = RegExtras(sentenceEndGrouping).map(txt, (punct) => {
3032
return punct;
3133
});

0 commit comments

Comments
 (0)