eslint-config-isaacscript 1.0.58 → 1.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/base.js +17 -0
  2. package/package.json +1 -1
package/base.js CHANGED
@@ -245,6 +245,23 @@ module.exports = {
245
245
  },
246
246
  ],
247
247
 
248
+ // Documentation:
249
+ // https://github.com/gajus/eslint-plugin-jsdoc#user-content-eslint-plugin-jsdoc-rules-match-description
250
+ // Not defined in parent configs
251
+ // Needed for catching superfluous leading and trailing newlines as documented here:
252
+ // https://github.com/gajus/eslint-plugin-jsdoc/issues/847
253
+ "jsdoc/match-description": [
254
+ "warn",
255
+ {
256
+ matchDescription: "^\\S[\\s\\S]*\\S$",
257
+ contexts: [
258
+ {
259
+ comment: "JsdocBlock[endLine!=0]:not(:has(JsdocTag))",
260
+ },
261
+ ],
262
+ },
263
+ ],
264
+
248
265
  // Documentation:
249
266
  // https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-require-jsdoc
250
267
  // Defined at:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-isaacscript",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "An ESLint config for IsaacScript projects.",
5
5
  "repository": {
6
6
  "type": "git",