Skip to content
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

Release 5.0 #49

Merged
merged 28 commits into from
Jul 15, 2020
Merged

Release 5.0 #49

merged 28 commits into from
Jul 15, 2020

Conversation

amannn
Copy link
Member

@amannn amannn commented Jul 9, 2020

See the changelog for detailed release notes.

Fixes #12
Fixes #13
Fixes #27
Fixes #28
Fixes #29
Fixes #30
Fixes #31
Fixes #43
Fixes #42
Fixes #44
Fixes #46
Fixes #48

--> i.e. all open issues in this repository 🙂

I've tested this config in one of the latest setlist repos (plain JavaScript/React) and it has worked fine. I want to test it in another repository with TypeScript though before merging.

@@ -43,22 +51,18 @@ module.exports = {
'sibling',
'index'
],
'newlines-between': 'never'
'newlines-between': 'never',
alphabetize: {order: 'asc'}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only downside here is currently this IMO: import-js/eslint-plugin-import#1378 (comment). However I think it's still better that this is taken care of automatically, than us trying to keep the imports in order manually.

},
"peerDependencies": {
"eslint": "^7.0.0"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm really glad that all the peer dependencies are now gone.

'react-hooks'
),
'react-hooks',
'sort-destructure-keys'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the last missing piece so that everything related to React props is sorted (JSX, prop types, prop destructuring). sort-keys from ESLint is a bit too aggressive IMO.

@@ -0,0 +1,3 @@
// This enables ESLint to use dependencies of this config
// (see https://github.com/eslint/eslint/issues/3458)
require('@rushstack/eslint-patch/modern-module-resolution');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint wants to handle this itself one day, but in the meantime there are some good guys from Microsoft providing a patch.

@amannn amannn changed the title [WIP] Release 5.0 Release 5.0 Jul 9, 2020
@symn
Copy link
Member

symn commented Jul 14, 2020

Great work - thanks for putting so much effort into it and resolve all issues

@amannn amannn requested a review from msparer July 14, 2020 08:57
@amannn amannn requested a review from symn July 14, 2020 08:57
@amannn amannn merged commit 5d7e77d into master Jul 15, 2020
@amannn amannn deleted the typescript branch July 15, 2020 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment