import-js/eslint-plugin-import

Is it possible to sort imports based on variable names within group?

オープン

#1,577 opened on 2019/12/19

 (4 件のコメント) (9 件のリアクション) (0 人の担当者)JavaScript (1,549 件のフォーク)batch import
enhancementhelp wantedimport/export ordering

Repository metrics

Stars
 (5,939 個のスター)
PR merge metrics
 (平均マージ 138d 22h) (30d で 3 merged PRs)

説明

"Sort the order within each group in alphabetical manner based on import path"

That's the current way... what If I wanted something like this..


import React from 'react';
import CompA from './zecomp.js
import CompB from './abigcomp.com

but sorting based on path gives me


import React from 'react';
import CompB from './abigcomp.com
import CompA from './zecomp.js

コントリビューターガイド