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

Ingore some characters #117

Open
SebastianStehle opened this issue Jan 11, 2023 · 1 comment
Open

Ingore some characters #117

SebastianStehle opened this issue Jan 11, 2023 · 1 comment

Comments

@SebastianStehle
Copy link

SebastianStehle commented Jan 11, 2023

Hi,

sometimes I use your extension to sort angular templates, I would like to ignore some characters, because angular has this notation with [] and ()

e.g.

[abc]
(def)
[ghi]
@danielwerg
Copy link

danielwerg commented Feb 14, 2023

I have similar issue, I want to sort ESLint rules alphabetically with typescript-eslint plugin, here is example:

'block-spacing': 'off',
'brace-style': 'off',
'comma-dangle': 'off',
'@typescript-eslint/block-spacing': 'off',
'@typescript-eslint/brace-style': 'off',
'@typescript-eslint/comma-dangle': 'off',

>Sort lines (ascending, case sensitive):

'@typescript-eslint/block-spacing': 'off',
'@typescript-eslint/brace-style': 'off',
'@typescript-eslint/comma-dangle': 'off',
'block-spacing': 'off',
'brace-style': 'off',
'comma-dangle': 'off',

If there was an option to ignore, I would be able to set it to @typescript-eslint/ and get following desired output:

'block-spacing': 'off',
'@typescript-eslint/block-spacing': 'off',
'brace-style': 'off',
'@typescript-eslint/brace-style': 'off',
'comma-dangle': 'off',
'@typescript-eslint/comma-dangle': 'off',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants