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

Enhancement alphabetize case insensitive #1586

Merged

Conversation

dbrewer5
Copy link
Contributor

@dbrewer5 dbrewer5 commented Dec 27, 2019

Fixes #1581

…phabetize`

 - imp: mutateRanksToAlphabetizeV2 added to handle case insensitive sorting
 - tests: add two test cases for alphabetize.caseInsensitive: true
 - docs: added documentation for new options: alphabetize.caseInsensitive
 - imp: merged mutateRanksToAlphabetizeV2 to original
 - changelog: updated with caseInsensitive addition
@coveralls
Copy link

coveralls commented Dec 27, 2019

Coverage Status

Coverage decreased (-0.05%) to 96.185% when pulling c28fa7c on dbrewer5:enhancement-alphabetize-case-insensitive into 4e8960d on benmosher:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 96.352% when pulling ad5e4dc on dbrewer5:enhancement-alphabetize-case-insensitive into 4e8960d on benmosher:master.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 96.352% when pulling ad5e4dc on dbrewer5:enhancement-alphabetize-case-insensitive into 4e8960d on benmosher:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 96.352% when pulling ad5e4dc on dbrewer5:enhancement-alphabetize-case-insensitive into 4e8960d on benmosher:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 96.352% when pulling ad5e4dc on dbrewer5:enhancement-alphabetize-case-insensitive into 4e8960d on benmosher:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 96.352% when pulling ad5e4dc on dbrewer5:enhancement-alphabetize-case-insensitive into 4e8960d on benmosher:master.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

Just the one comment left.

@@ -210,12 +212,14 @@ import React, { PureComponent } from 'react';
import aTypes from 'prop-types';
import { compose, apply } from 'xcompose';
import * as classnames from 'classnames';
import blist from 'BList';
Copy link
Member

Choose a reason for hiding this comment

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

perhaps a relative path would be better here, since npm package names can't be capitalized (for many years now)

src/rules/order.js Outdated Show resolved Hide resolved
@ljharb ljharb force-pushed the enhancement-alphabetize-case-insensitive branch from ad5e4dc to c53a069 Compare December 30, 2019 22:09
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

Actually let's just leave this as-is.

@ljharb ljharb force-pushed the enhancement-alphabetize-case-insensitive branch from c53a069 to c28fa7c Compare December 30, 2019 22:11
@ljharb ljharb merged commit c28fa7c into import-js:master Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Option to make "alphabetize" sorting case insensitive
3 participants