-
Notifications
You must be signed in to change notification settings - Fork 48
[proposal] Making most peerDependencies -> dependencies #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |||||
| "name": "eslint-config-godaddy-flow", | ||||||
| "version": "3.0.0", | ||||||
| "description": "ESLint config for consistent style in node projects using Flow at GoDaddy.", | ||||||
| "license": "MIT", | ||||||
| "scripts": { | ||||||
| "lint": "eslint .", | ||||||
| "pretest": "npm run --silent lint", | ||||||
|
|
@@ -24,25 +25,17 @@ | |||||
| "bin": { | ||||||
| "eslint-godaddy-flow": "bin/eslint-godaddy-flow" | ||||||
| }, | ||||||
| "dependencies": { | ||||||
| "eslint-config-godaddy": "^4.0.0" | ||||||
| }, | ||||||
| "peerDependencies": { | ||||||
| "babel-eslint": ">=7.2.1 <11.0.0", | ||||||
| "eslint": "^6.1.0", | ||||||
| "eslint": ">=6.0.0" | ||||||
| }, | ||||||
| "dependencies": { | ||||||
| "babel-eslint": "^10.0.3", | ||||||
| "eslint-config-godaddy": "^4.0.0", | ||||||
| "eslint-plugin-babel": "^5.3.0", | ||||||
| "eslint-plugin-flowtype": "^4.2.0", | ||||||
| "eslint-plugin-json": "^1.4.0", | ||||||
| "eslint-plugin-mocha": "^5.3.0" | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think these can be just removed. I do understand the
Iirc this will just lead to eslint crashing on not finding the modules. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These will now installed as regular dependencies, though, so eslint should be able to find all the relevant plugins, no? It doesn't make sense to me that they're peer dependencies; installing our canned config should install all the relevant plugins for you. All other eslint configs I've seen do this.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I stand corrected overlooked them here https://github.com/godaddy/javascript/pull/88/files#diff-502dbc4a5275e8ef5e9db3306e47d92cR31 |
||||||
| "eslint-plugin-flowtype": "^4.5.2" | ||||||
| }, | ||||||
| "license": "MIT", | ||||||
| "devDependencies": { | ||||||
| "babel-eslint": "^10.0.2", | ||||||
| "eslint": "^6.1.0", | ||||||
| "eslint-find-rules": "^3.4.0", | ||||||
| "eslint-plugin-babel": "^5.3.0", | ||||||
| "eslint-plugin-flowtype": "^4.2.0", | ||||||
| "eslint-plugin-json": "^1.4.0", | ||||||
| "eslint-plugin-mocha": "^5.3.0" | ||||||
| "eslint": "^6.7.1", | ||||||
| "eslint-find-rules": "^3.4.0" | ||||||
| } | ||||||
| } | ||||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to use the next version for these, can I have publish permission please?