@voiceflow/eslint-config 7.4.4 → 7.5.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voiceflow/eslint-config",
3
- "version": "7.4.4",
3
+ "version": "7.5.0",
4
4
  "main": "src/index.js",
5
5
  "files": [
6
6
  "src"
@@ -23,6 +23,7 @@
23
23
  "eslint-import-resolver-typescript": "3.6.1",
24
24
  "eslint-plugin-eslint-comments": "3.2.0",
25
25
  "eslint-plugin-import": "2.29.1",
26
+ "eslint-plugin-jsdoc": "48.2.3",
26
27
  "eslint-plugin-no-secrets": "0.8.9",
27
28
  "eslint-plugin-prefer-arrow": "1.2.3",
28
29
  "eslint-plugin-prettier": "5.1.3",
@@ -39,5 +40,5 @@
39
40
  "volta": {
40
41
  "extends": "../../package.json"
41
42
  },
42
- "gitHead": "0ae96db881eddfccf281398c1d71a497e8784b3e"
43
+ "gitHead": "e03ae8528e5b65edb89e132e8f7def88b54f626f"
43
44
  }
@@ -6,11 +6,13 @@ const comments = require('eslint-plugin-eslint-comments');
6
6
  const youDontNeed = require('eslint-plugin-you-dont-need-lodash-underscore');
7
7
  const unicorn = require('eslint-plugin-unicorn');
8
8
  const prettier = require('eslint-plugin-prettier/recommended');
9
+ const jsdoc = require('eslint-plugin-jsdoc');
9
10
 
10
11
  /** @type {import('eslint').Linter.FlatConfig[]} */
11
12
  module.exports = [
12
13
  {
13
14
  plugins: {
15
+ jsdoc,
14
16
  sonarjs,
15
17
  promise,
16
18
  unicorn,
@@ -79,6 +81,8 @@ module.exports = [
79
81
  'unicorn/better-regex': 'error',
80
82
  'unicorn/prefer-set-has': 'error',
81
83
 
84
+ 'jsdoc/no-undefined-types': 'error',
85
+
82
86
  // warn
83
87
  'sonarjs/no-duplicate-string': 'warn',
84
88