Skip to content

Commit 2222a61

Browse files
committed
Merge branch 'master' into no-undefined-types-add-gcc-templates
* master: fix: add `core-js/fn/array/flat-map` import to `no-undefined-types` to ensure `flatMap` support chore: update dep. comment-parser (patch version) chore: update devDep. eslint-config-canonical
2 parents 7a5cc9d + 2b41cb8 commit 2222a61

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"url": "http://gajus.com"
66
},
77
"dependencies": {
8-
"comment-parser": "^0.5.4",
8+
"comment-parser": "^0.5.5",
99
"debug": "^4.1.1",
1010
"jsdoctypeparser": "4.0.0",
1111
"lodash": "^4.17.11"
@@ -22,8 +22,9 @@
2222
"babel-plugin-add-module-exports": "^1.0.2",
2323
"babel-plugin-istanbul": "^5.1.4",
2424
"chai": "^4.2.0",
25+
"core-js": "^3.1.4",
2526
"eslint": "^5.14.1",
26-
"eslint-config-canonical": "^17.1.0",
27+
"eslint-config-canonical": "^17.1.1",
2728
"gitdown": "^2.5.8",
2829
"glob": "^7.1.4",
2930
"globby": "^9.2.0",

src/rules/noUndefinedTypes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// eslint-disable-next-line import/no-unassigned-import
2+
import 'core-js/fn/array/flat-map';
13
import _ from 'lodash';
24
import {parse as parseType, traverse} from 'jsdoctypeparser';
35
import iterateJsdoc, {parseComment} from '../iterateJsdoc';

0 commit comments

Comments
 (0)