Skip to content

Commit

Permalink
Drop array.prototype.flat
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jul 3, 2023
1 parent 7d71310 commit 300cd7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
"eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8"
},
"dependencies": {
"array.prototype.flat": "^1.3.1",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.7",
Expand Down
2 changes: 1 addition & 1 deletion src/rules/group-exports.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import docsUrl from '../docsUrl';
import flat from 'array.prototype.flat';

const { values } = Object;
const flat = Function.bind.bind(Function.prototype.call)(Array.prototype.flat);

const meta = {
type: 'suggestion',
Expand Down

0 comments on commit 300cd7f

Please sign in to comment.