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.
array.prototype.flat
1 parent 7d71310 commit 300cd7fCopy full SHA for 300cd7f
package.json
@@ -100,7 +100,6 @@
100
"eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8"
101
},
102
"dependencies": {
103
- "array.prototype.flat": "^1.3.1",
104
"debug": "^3.2.7",
105
"doctrine": "^2.1.0",
106
"eslint-import-resolver-node": "^0.3.7",
src/rules/group-exports.js
@@ -1,7 +1,7 @@
1
import docsUrl from '../docsUrl';
2
-import flat from 'array.prototype.flat';
3
4
const { values } = Object;
+const flat = Function.bind.bind(Function.prototype.call)(Array.prototype.flat);
5
6
const meta = {
7
type: 'suggestion',
0 commit comments