We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
no-undefined-types
1 parent 8254e70 commit 142ac17Copy full SHA for 142ac17
package.json
@@ -7,6 +7,7 @@
7
"dependencies": {
8
"comment-parser": "^0.5.5",
9
"debug": "^4.1.1",
10
+ "flat-map-polyfill": "^0.3.8",
11
"jsdoctypeparser": "4.0.0",
12
"lodash": "^4.17.11"
13
},
@@ -22,7 +23,6 @@
22
23
"babel-plugin-add-module-exports": "^1.0.2",
24
"babel-plugin-istanbul": "^5.1.4",
25
"chai": "^4.2.0",
- "core-js": "^3.1.4",
26
"eslint": "^5.14.1",
27
"eslint-config-canonical": "^17.1.1",
28
"gitdown": "^2.5.8",
src/rules/noUndefinedTypes.js
@@ -1,5 +1,5 @@
1
// eslint-disable-next-line import/no-unassigned-import
2
-import 'core-js/stable/array/flat-map';
+import 'flat-map-polyfill';
3
import _ from 'lodash';
4
import {parse as parseType, traverse} from 'jsdoctypeparser';
5
import iterateJsdoc, {parseComment} from '../iterateJsdoc';
0 commit comments