Skip to content

Commit e966dfe

Browse files
7.0.3 Remove peer dependencies of eslint-config-react-app
1 parent 81fa06f commit e966dfe

File tree

4 files changed

+118
-125
lines changed

4 files changed

+118
-125
lines changed

eslint-config-ringcentral-typescript/package.json

-7
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@
1919
"eslint-config-ringcentral": "1.0.0",
2020
"eslint-import-resolver-node": "0.3.6",
2121
"eslint-import-resolver-typescript": "2.5.0",
22-
"eslint-plugin-flowtype": "^8.0.3",
23-
"eslint-plugin-import": "^2.25.3",
24-
"eslint-plugin-jest": "^25.3.0",
25-
"eslint-plugin-jsx-a11y": "^6.5.1",
26-
"eslint-plugin-react": "^7.27.1",
27-
"eslint-plugin-react-hooks": "^4.3.0",
28-
"eslint-plugin-testing-library": "^5.0.1",
2922
"eslint-plugin-prettier": "4.0.0",
3023
"eslint-plugin-ringcentral": "1.0.0",
3124
"eslint-plugin-sonarjs": "^0.11.0",

eslint-config-ringcentral-typescript/src/syncDeps.js

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Object.keys(fbPkg.dependencies).forEach((key) => {
2020
jsPkg.devDependencies[key] = version;
2121
console.log("\x1b[35mJaveScript\x1b[0m", "-", key, ":", version);
2222
}
23+
if (jsPkg.dependencies[key]) {
24+
jsPkg.dependencies[key] = version;
25+
console.log("\x1b[35mJaveScript\x1b[0m", "-", key, ":", version);
26+
}
2327
if (tsPkg.dependencies[key]) {
2428
tsPkg.dependencies[key] = version;
2529
console.log("\x1b[36mTypeScript\x1b[0m", "-", key, ":", version);

0 commit comments

Comments
 (0)