Skip to content

Enhancement alphabetize case insensitive#1586

Merged
ljharb merged 1 commit into
import-js:masterfrom
dbrewer5:enhancement-alphabetize-case-insensitive
Dec 30, 2019
Merged

Enhancement alphabetize case insensitive#1586
ljharb merged 1 commit into
import-js:masterfrom
dbrewer5:enhancement-alphabetize-case-insensitive

Conversation

@dbrewer5
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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.

Comment thread docs/rules/order.md
import aTypes from 'prop-types';
import { compose, apply } from 'xcompose';
import * as classnames from 'classnames';
import blist from 'BList';
Copy link
Copy Markdown
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)

Comment thread src/rules/order.js Outdated
@ljharb ljharb force-pushed the enhancement-alphabetize-case-insensitive branch from ad5e4dc to c53a069 Compare December 30, 2019 22:09
Copy link
Copy Markdown
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