Skip to content

Commit

Permalink
test: reuse lodash library within eslint tests (#12640)
Browse files Browse the repository at this point in the history
  • Loading branch information
armano2 authored Jan 18, 2021
1 parent 5a193cc commit 53f9fcd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
3 changes: 1 addition & 2 deletions eslint/babel-eslint-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"devDependencies": {
"@babel/core": "workspace:*",
"dedent": "^0.7.0",
"eslint": "^7.5.0",
"lodash.clonedeep": "^4.5.0"
"eslint": "^7.5.0"
}
}
2 changes: 1 addition & 1 deletion eslint/babel-eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
},
"devDependencies": {
"eslint": "^7.5.0",
"lodash.clonedeep": "^4.5.0"
"lodash": "^4.17.20"
}
}
2 changes: 1 addition & 1 deletion eslint/babel-eslint-plugin/test/rules/no-invalid-this.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cloneDeep from "lodash.clonedeep";
import cloneDeep from "lodash/cloneDeep";
import rule from "../../src/rules/no-invalid-this";
import RuleTester from "../../../babel-eslint-shared-fixtures/utils/RuleTester";

Expand Down
10 changes: 1 addition & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ __metadata:
eslint: ^7.5.0
eslint-scope: 5.1.0
eslint-visitor-keys: ^1.3.0
lodash.clonedeep: ^4.5.0
semver: ^6.3.0
peerDependencies:
"@babel/core": ">=7.11.0"
Expand Down Expand Up @@ -198,7 +197,7 @@ __metadata:
dependencies:
eslint: ^7.5.0
eslint-rule-composer: ^0.3.0
lodash.clonedeep: ^4.5.0
lodash: ^4.17.20
peerDependencies:
"@babel/eslint-parser": ">=7.11.0"
eslint: ">=7.5.0"
Expand Down Expand Up @@ -9534,13 +9533,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"lodash.clonedeep@npm:^4.5.0":
version: 4.5.0
resolution: "lodash.clonedeep@npm:4.5.0"
checksum: 41e2fe4c57c56a66a4775a6ddeebe9272f0ce4d257d97b3cb8724a9b01eeec9b09ce7e8603d6926baf5f48c287d988f0de4bf5aa244ea86b1f22c1e6f203cc27
languageName: node
linkType: hard

"lodash.debounce@npm:^4.0.8":
version: 4.0.8
resolution: "lodash.debounce@npm:4.0.8"
Expand Down

0 comments on commit 53f9fcd

Please sign in to comment.