@playcanvas/eslint-config 1.0.15 → 1.0.16

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/index.js +7 -11
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
 
3
3
  "parserOptions": {
4
- "ecmaVersion": 2015,
4
+ "ecmaVersion": "latest",
5
5
  "sourceType": "module",
6
6
  "ecmaFeatures": {}
7
7
  },
@@ -384,24 +384,20 @@ module.exports = {
384
384
  "jsdoc/check-alignment": "error",
385
385
  "jsdoc/check-examples": "off",
386
386
  "jsdoc/check-indentation": "off",
387
- "jsdoc/check-line-alignment": "off",
387
+ "jsdoc/check-line-alignment": "error",
388
388
  "jsdoc/check-param-names": "off",
389
389
  "jsdoc/check-property-names": "error",
390
390
  "jsdoc/check-syntax": "error",
391
- "jsdoc/check-tag-names": [
392
- "error", {
393
- "definedTags": ["component", "field"]
394
- }
395
- ],
391
+ "jsdoc/check-tag-names": "error",
396
392
  "jsdoc/check-types": "error",
397
393
  "jsdoc/check-values": "error",
398
394
  "jsdoc/empty-tags": "error",
399
395
  "jsdoc/implements-on-classes": "error",
400
396
  "jsdoc/match-description": "off",
401
397
  "jsdoc/match-name": "off",
402
- "jsdoc/multiline-blocks": "off",
398
+ "jsdoc/multiline-blocks": "error",
403
399
  "jsdoc/newline-after-description": "error",
404
- "jsdoc/no-bad-blocks": "off",
400
+ "jsdoc/no-bad-blocks": "error",
405
401
  "jsdoc/no-defaults": "off",
406
402
  "jsdoc/no-missing-syntax": "off",
407
403
  "jsdoc/no-multi-asterisks": "error",
@@ -432,8 +428,8 @@ module.exports = {
432
428
  "jsdoc/require-returns-type": "error",
433
429
  "jsdoc/require-returns": "error",
434
430
  "jsdoc/require-throws": "off",
435
- "jsdoc/require-yields": "off",
436
- "jsdoc/require-yields-check": "off",
431
+ "jsdoc/require-yields": "error",
432
+ "jsdoc/require-yields-check": "error",
437
433
  "jsdoc/tag-lines": "off",
438
434
  "jsdoc/valid-types": "off"
439
435
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playcanvas/eslint-config",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "author": "PlayCanvas <support@playcanvas.com>",
5
5
  "homepage": "https://playcanvas.com",
6
6
  "description": "ESLint configuration used by PlayCanvas",
@@ -26,7 +26,7 @@
26
26
  "README.md"
27
27
  ],
28
28
  "dependencies": {
29
- "eslint-plugin-jsdoc": "^37.1.0"
29
+ "eslint-plugin-jsdoc": "^37.5.1"
30
30
  },
31
31
  "scripts": {
32
32
  "test": "echo \"Error: no test specified\" && exit 1"