├── .editorconfig ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml └── workflows │ └── node.js.yml ├── .gitignore ├── .npmignore ├── .npmrc ├── .prettierignore ├── .vscode └── extensions.json ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── TODO.md ├── docs ├── README.md ├── functions │ ├── breakFlag.md │ ├── formatSourceFromFile.md │ ├── formatSourceWithoutFile.md │ ├── isFileExcludedByConfig.md │ ├── loadConfigFromJsonFile.md │ ├── mergeConfig.md │ ├── resolveConfigForFile.md │ └── resolveConfigForSource.md ├── interfaces │ ├── Configuration.md │ ├── GroupRule.md │ ├── SortRules.md │ └── WrappingRule.md ├── type-aliases │ ├── CompareRule.md │ ├── Extension.md │ ├── FlagSymbol.md │ └── KeepUnusedRule.md └── variables │ ├── CLI_NAME.md │ ├── COMPARE_RULE_DEFAULT.md │ ├── DEFAULT_MERGER.md │ ├── GROUP_RULES_DEFAULT.md │ ├── SUPPORTED_EXTENSIONS.md │ └── VERSION.md ├── package.json ├── schemas ├── import-sorter.schema.json └── package-json.schema.json ├── src ├── bin │ ├── check.ts │ ├── config.ts │ ├── format.ts │ ├── main.ts │ ├── options.ts │ └── utils.ts ├── lib │ ├── common │ │ └── index.ts │ ├── config │ │ ├── importSorter.ts │ │ ├── index.ts │ │ ├── merge.ts │ │ ├── prettier.ts │ │ └── types │ │ │ ├── grouping.ts │ │ │ ├── index.ts │ │ │ ├── sorting.ts │ │ │ ├── unused.ts │ │ │ └── wrapping.ts │ ├── format │ │ ├── compose │ │ │ ├── AttributesPart.ts │ │ │ ├── ComposeLine.ts │ │ │ ├── ComposeResult.ts │ │ │ ├── NamedPart.ts │ │ │ ├── SemiPart.ts │ │ │ ├── StringPart.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── config │ │ │ ├── compose.ts │ │ │ ├── eslint │ │ │ │ ├── helper.ts │ │ │ │ ├── index.ts │ │ │ │ └── rules │ │ │ │ │ ├── comma-dangle.ts │ │ │ │ │ ├── eol-last.ts │ │ │ │ │ ├── import │ │ │ │ │ ├── newline-after-import.ts │ │ │ │ │ └── no-useless-path-segments.ts │ │ │ │ │ ├── indent.ts │ │ │ │ │ ├── max-len.ts │ │ │ │ │ ├── object-curly-spacing.ts │ │ │ │ │ ├── semi.ts │ │ │ │ │ └── sort-imports.ts │ │ │ ├── index.ts │ │ │ └── tsconfig.ts │ │ ├── edit │ │ │ ├── EditManager.ts │ │ │ ├── apply.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── main │ │ │ ├── format.ts │ │ │ ├── index.ts │ │ │ ├── keep.ts │ │ │ └── vue.ts │ │ ├── parser │ │ │ ├── .DS_Store │ │ │ ├── ExportNode.ts │ │ │ ├── ImportNode.ts │ │ │ ├── KeepUnused.ts │ │ │ ├── ParseParams.ts │ │ │ ├── Statement.ts │ │ │ ├── helper.ts │ │ │ ├── index.ts │ │ │ ├── lines.ts │ │ │ ├── parser.ts │ │ │ ├── path.test.ts │ │ │ ├── path.ts │ │ │ └── unused.ts │ │ ├── sort │ │ │ ├── SortGroup.ts │ │ │ ├── compare.ts │ │ │ ├── index.ts │ │ │ ├── merge.ts │ │ │ └── unused.ts │ │ └── types │ │ │ └── index.ts │ └── index.ts └── test │ ├── cli │ ├── __snapshots__ │ │ └── main.test.ts.snap │ ├── examples │ │ ├── .eslintrc.json │ │ ├── check │ │ │ ├── 0-processed │ │ │ │ ├── __in │ │ │ │ │ └── a │ │ │ │ │ │ └── 1.txt │ │ │ │ └── cmd.txt │ │ │ ├── 1-processed │ │ │ │ ├── excluded │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ └── cmd.txt │ │ │ │ ├── passed │ │ │ │ │ ├── __in │ │ │ │ │ │ └── 1.ts │ │ │ │ │ └── cmd.txt │ │ │ │ └── rejected │ │ │ │ │ ├── __in │ │ │ │ │ └── a │ │ │ │ │ │ └── 1.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── special.txt │ │ │ ├── 2-processed │ │ │ │ ├── excluded │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ └── 1.ts │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ └── cmd.txt │ │ │ │ ├── passed │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ └── a │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ └── cmd.txt │ │ │ │ └── rejected │ │ │ │ │ ├── __in │ │ │ │ │ └── a │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ └── b │ │ │ │ │ │ └── 2.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── special.txt │ │ │ ├── __in │ │ │ │ ├── 1.ts │ │ │ │ ├── a │ │ │ │ │ ├── 2.ts │ │ │ │ │ ├── 4.txt │ │ │ │ │ ├── b │ │ │ │ │ │ ├── 3.ts │ │ │ │ │ │ ├── 5.vue │ │ │ │ │ │ └── e1.ts │ │ │ │ │ └── e2.ts │ │ │ │ └── import-sorter.json │ │ │ ├── cmd.txt │ │ │ ├── config │ │ │ │ ├── __in │ │ │ │ │ ├── 1.ts │ │ │ │ │ ├── a │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ ├── 4.txt │ │ │ │ │ │ ├── b │ │ │ │ │ │ │ ├── 3.ts │ │ │ │ │ │ │ └── e1.ts │ │ │ │ │ │ └── e2.ts │ │ │ │ │ └── c │ │ │ │ │ │ └── import-sorter.json │ │ │ │ ├── cmd.txt │ │ │ │ ├── fileconfig │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ ├── 4.txt │ │ │ │ │ │ │ ├── b │ │ │ │ │ │ │ │ ├── 3.ts │ │ │ │ │ │ │ │ ├── e1.ts │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ │ └── e2.ts │ │ │ │ │ │ └── c │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── special.txt │ │ │ │ ├── force │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ ├── 4.txt │ │ │ │ │ │ │ ├── b │ │ │ │ │ │ │ │ ├── 3.ts │ │ │ │ │ │ │ │ └── e1.ts │ │ │ │ │ │ │ └── e2.ts │ │ │ │ │ │ └── c │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── special.txt │ │ │ │ ├── nonexist │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── result.json │ │ │ │ └── special.txt │ │ │ ├── empty │ │ │ │ └── cmd.txt │ │ │ ├── no-recursive │ │ │ │ ├── __in │ │ │ │ │ ├── 1.ts │ │ │ │ │ ├── a │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ ├── 4.txt │ │ │ │ │ │ ├── b │ │ │ │ │ │ │ ├── 3.ts │ │ │ │ │ │ │ └── e1.ts │ │ │ │ │ │ └── e2.ts │ │ │ │ │ └── import-sorter.json │ │ │ │ ├── cmd.txt │ │ │ │ └── special.txt │ │ │ ├── nonexist │ │ │ │ ├── __in │ │ │ │ │ └── 1.ts │ │ │ │ └── cmd.txt │ │ │ ├── special.txt │ │ │ └── unknown │ │ │ │ ├── __in │ │ │ │ └── 1.ts │ │ │ │ ├── cmd.txt │ │ │ │ └── skip.txt │ │ ├── format │ │ │ ├── directory │ │ │ │ ├── __in │ │ │ │ │ └── a │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ ├── 4.ts │ │ │ │ │ │ └── b │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ ├── 4.json │ │ │ │ │ │ └── 5.vue │ │ │ │ ├── __out │ │ │ │ │ └── a │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ ├── 4.ts │ │ │ │ │ │ └── b │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ └── 5.vue │ │ │ │ ├── cmd.txt │ │ │ │ ├── config │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ │ └── c │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ ├── __out │ │ │ │ │ │ └── a │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ ├── exclude │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ │ │ └── c │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ ├── __out │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ └── 1.ts │ │ │ │ │ │ ├── cmd.txt │ │ │ │ │ │ ├── dry-run │ │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ │ │ │ └── c │ │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ │ └── cmd.txt │ │ │ │ │ │ └── force │ │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ │ │ └── c │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ │ ├── __out │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ │ │ └── cmd.txt │ │ │ │ │ ├── fileconfig │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ │ │ ├── 4.json │ │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ │ └── c │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ ├── __out │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ │ └── cmd.txt │ │ │ │ │ └── nonexist │ │ │ │ │ │ ├── __in │ │ │ │ │ │ └── a │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ │ ├── cmd.txt │ │ │ │ │ │ └── result.json │ │ │ │ ├── dry-run │ │ │ │ │ ├── __in │ │ │ │ │ │ └── a │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ ├── 4.ts │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ └── cmd.txt │ │ │ │ ├── no-recursive │ │ │ │ │ ├── __in │ │ │ │ │ │ └── a │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ ├── 4.ts │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ ├── __out │ │ │ │ │ │ └── a │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ └── 4.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── dry-run │ │ │ │ │ │ ├── __in │ │ │ │ │ │ └── a │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ │ └── cmd.txt │ │ │ │ ├── nonexist │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── result.json │ │ │ │ └── output │ │ │ │ │ ├── __in │ │ │ │ │ └── a │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ ├── 4.ts │ │ │ │ │ │ └── b │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ └── 4.json │ │ │ │ │ ├── __out │ │ │ │ │ └── d │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ ├── 4.ts │ │ │ │ │ │ └── b │ │ │ │ │ │ └── 2.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ ├── directory │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ ├── 4.ts │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ │ └── d │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ └── 4.ts │ │ │ │ │ ├── __out │ │ │ │ │ │ └── d │ │ │ │ │ │ │ ├── 4.ts │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── dry-run │ │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ ├── 4.ts │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ │ └── d │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ └── 4.ts │ │ │ │ │ │ └── cmd.txt │ │ │ │ │ ├── dry-run │ │ │ │ │ ├── __in │ │ │ │ │ │ └── a │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ │ ├── 4.ts │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ └── cmd.txt │ │ │ │ │ └── file │ │ │ │ │ ├── __in │ │ │ │ │ ├── a │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ ├── 3.txt │ │ │ │ │ │ └── b │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ └── 4.json │ │ │ │ │ └── d.txt │ │ │ │ │ └── cmd.txt │ │ │ ├── file │ │ │ │ ├── __in │ │ │ │ │ └── 1.ts │ │ │ │ ├── __out │ │ │ │ │ └── 1.ts │ │ │ │ ├── ark-ts │ │ │ │ │ ├── __in │ │ │ │ │ │ └── 1.ets │ │ │ │ │ ├── __out │ │ │ │ │ │ └── 1.ets │ │ │ │ │ └── cmd.txt │ │ │ │ ├── cmd.txt │ │ │ │ ├── config │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ └── a │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ ├── __out │ │ │ │ │ │ └── 1.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ ├── exclude │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ ├── __out │ │ │ │ │ │ │ └── 1.ts │ │ │ │ │ │ ├── cmd.txt │ │ │ │ │ │ └── force │ │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ │ ├── __out │ │ │ │ │ │ │ └── 1.ts │ │ │ │ │ │ │ └── cmd.txt │ │ │ │ │ ├── fileconfig │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ ├── __out │ │ │ │ │ │ │ └── 1.ts │ │ │ │ │ │ └── cmd.txt │ │ │ │ │ └── nonexist │ │ │ │ │ │ ├── __in │ │ │ │ │ │ └── 1.ts │ │ │ │ │ │ ├── cmd.txt │ │ │ │ │ │ └── result.json │ │ │ │ ├── dry-run │ │ │ │ │ ├── __in │ │ │ │ │ │ └── 1.ts │ │ │ │ │ └── cmd.txt │ │ │ │ ├── nonexist │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── result.json │ │ │ │ ├── not-supported │ │ │ │ │ ├── __in │ │ │ │ │ │ └── 1.txt │ │ │ │ │ └── cmd.txt │ │ │ │ └── output │ │ │ │ │ ├── __in │ │ │ │ │ └── 1.ts │ │ │ │ │ ├── __out │ │ │ │ │ └── a │ │ │ │ │ │ └── 2.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ ├── directory │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ └── a │ │ │ │ │ │ │ └── 1.txt │ │ │ │ │ ├── __out │ │ │ │ │ │ └── a │ │ │ │ │ │ │ └── 1.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── dry-run │ │ │ │ │ │ ├── __in │ │ │ │ │ │ └── 1.ts │ │ │ │ │ │ └── cmd.txt │ │ │ │ │ ├── dry-run │ │ │ │ │ ├── __in │ │ │ │ │ │ └── 1.ts │ │ │ │ │ └── cmd.txt │ │ │ │ │ └── file │ │ │ │ │ ├── __in │ │ │ │ │ ├── 1.ts │ │ │ │ │ └── a │ │ │ │ │ │ └── 2.ts │ │ │ │ │ ├── __out │ │ │ │ │ └── a │ │ │ │ │ │ └── 2.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ ├── dry-run │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ └── a │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ └── cmd.txt │ │ │ │ │ └── equal │ │ │ │ │ ├── __in │ │ │ │ │ ├── 1.ts │ │ │ │ │ └── a │ │ │ │ │ │ └── 2.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── dry-run │ │ │ │ │ ├── __in │ │ │ │ │ ├── 1.ts │ │ │ │ │ └── a │ │ │ │ │ │ └── 2.ts │ │ │ │ │ └── cmd.txt │ │ │ ├── files │ │ │ │ ├── __in │ │ │ │ │ ├── 1.ts │ │ │ │ │ └── a │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ └── 3.vue │ │ │ │ ├── __out │ │ │ │ │ ├── 1.ts │ │ │ │ │ └── a │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ └── 3.vue │ │ │ │ ├── cmd.txt │ │ │ │ ├── config │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ │ └── c │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ ├── __out │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ └── a │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ ├── exclude │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ │ │ └── c │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ ├── __out │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ │ ├── cmd.txt │ │ │ │ │ │ └── force │ │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ │ │ └── c │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ │ ├── __out │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ │ │ └── cmd.txt │ │ │ │ │ ├── fileconfig │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ ├── 2.ts │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ │ └── c │ │ │ │ │ │ │ │ └── import-sorter.json │ │ │ │ │ │ ├── __out │ │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ │ └── cmd.txt │ │ │ │ │ └── nonexist │ │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ └── a │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ │ ├── cmd.txt │ │ │ │ │ │ └── result.json │ │ │ │ ├── dry-run │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ └── a │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ └── cmd.txt │ │ │ │ ├── nonexist │ │ │ │ │ ├── __in │ │ │ │ │ │ └── 1.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── result.json │ │ │ │ ├── nonfile │ │ │ │ │ ├── __in │ │ │ │ │ │ ├── 1.ts │ │ │ │ │ │ └── a │ │ │ │ │ │ │ └── 2.ts │ │ │ │ │ │ │ └── 1.txt │ │ │ │ │ └── cmd.txt │ │ │ │ └── output │ │ │ │ │ └── cmd.txt │ │ │ └── stdin │ │ │ │ ├── cmd.txt │ │ │ │ ├── config │ │ │ │ ├── __in │ │ │ │ │ └── import-sorter.json │ │ │ │ ├── cmd.txt │ │ │ │ ├── nonexist │ │ │ │ │ ├── cmd.txt │ │ │ │ │ ├── result.json │ │ │ │ │ └── stdin.dat │ │ │ │ └── stdin.dat │ │ │ │ ├── dry-run │ │ │ │ ├── cmd.txt │ │ │ │ └── stdin.dat │ │ │ │ ├── extension │ │ │ │ ├── error │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── stdin.dat │ │ │ │ ├── ets │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── stdin.dat │ │ │ │ ├── js │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── stdin.dat │ │ │ │ ├── jsx │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── stdin.dat │ │ │ │ ├── ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── stdin.dat │ │ │ │ ├── tsx │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── stdin.dat │ │ │ │ └── vue │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── stdin.dat │ │ │ │ ├── output │ │ │ │ ├── __out │ │ │ │ │ └── 1.ts │ │ │ │ ├── cmd.txt │ │ │ │ ├── directory │ │ │ │ │ ├── __in │ │ │ │ │ │ └── 1 │ │ │ │ │ │ │ └── 1.txt │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── stdin.dat │ │ │ │ ├── dry-run │ │ │ │ │ ├── cmd.txt │ │ │ │ │ └── stdin.dat │ │ │ │ ├── file │ │ │ │ │ ├── __in │ │ │ │ │ │ └── 1.ts │ │ │ │ │ ├── __out │ │ │ │ │ │ └── 1.ts │ │ │ │ │ ├── cmd.txt │ │ │ │ │ ├── dry-run │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ └── 1.ts │ │ │ │ │ │ ├── cmd.txt │ │ │ │ │ │ └── stdin.dat │ │ │ │ │ ├── equal │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ └── 1.ts │ │ │ │ │ │ ├── cmd.txt │ │ │ │ │ │ ├── dry-run │ │ │ │ │ │ │ ├── __in │ │ │ │ │ │ │ │ └── 1.ts │ │ │ │ │ │ │ ├── cmd.txt │ │ │ │ │ │ │ └── stdin.dat │ │ │ │ │ │ └── stdin.dat │ │ │ │ │ └── stdin.dat │ │ │ │ └── stdin.dat │ │ │ │ └── stdin.dat │ │ ├── help │ │ │ └── cmd.txt │ │ ├── log │ │ │ ├── __in │ │ │ │ └── 1.ts │ │ │ ├── cmd.txt │ │ │ └── result.json │ │ ├── package.json │ │ └── version │ │ │ ├── cmd.txt │ │ │ └── result.json │ └── main.test.ts │ └── lib │ ├── examples │ ├── .eslintignore │ ├── .eslintrc.json │ ├── ark-ts │ │ ├── origin.ets │ │ └── result.ets │ ├── attributes │ │ ├── assert.origin.ts │ │ ├── assert.result.ts │ │ ├── with.origin.ts │ │ └── with.result.ts │ ├── comments │ │ ├── import-sorter.json │ │ ├── leading │ │ │ ├── export │ │ │ │ ├── 0.origin.ts │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── 2.result.ts │ │ │ │ ├── 3.origin.ts │ │ │ │ ├── 3.result.ts │ │ │ │ └── result.ts │ │ │ └── import │ │ │ │ ├── 0.origin.ts │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── global │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── 3.origin.ts │ │ │ │ ├── result.ts │ │ │ │ └── triple-slash │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 1.result.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ └── 2.result.ts │ │ │ │ └── result.ts │ │ ├── origin.ts │ │ ├── result.ts │ │ ├── trailing.origin.ts │ │ └── trailing.result.ts │ ├── compose │ │ ├── bracket-space │ │ │ ├── false │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ ├── comma │ │ │ ├── always │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── multi-line │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ └── none │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── eol │ │ │ ├── crlf.origin.ts │ │ │ ├── crlf.result.ts │ │ │ ├── import-sorter.json │ │ │ ├── lf.origin.ts │ │ │ └── lf.result.ts │ │ ├── final-nl │ │ │ ├── false │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-1.origin.ts │ │ │ │ ├── 0-2.origin.ts │ │ │ │ ├── 1-0.origin.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-2.origin.ts │ │ │ │ ├── 2-0.origin.ts │ │ │ │ ├── 2-1.origin.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ ├── export │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── import │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ └── result.ts │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── preserve │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-0.result.ts │ │ │ │ ├── 0-1.origin.ts │ │ │ │ ├── 0-2.origin.ts │ │ │ │ ├── 1-0.origin.ts │ │ │ │ ├── 1-0.result.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-2.origin.ts │ │ │ │ ├── 2-0.origin.ts │ │ │ │ ├── 2-1.origin.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ ├── export │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 0.result.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── import │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 0.result.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ └── result.ts │ │ │ │ └── result.ts │ │ │ └── true │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-1.origin.ts │ │ │ │ ├── 0-2.origin.ts │ │ │ │ ├── 1-0.origin.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-2.origin.ts │ │ │ │ ├── 2-0.origin.ts │ │ │ │ ├── 2-1.origin.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ ├── export │ │ │ │ ├── 0.origin.ts │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── import │ │ │ │ ├── 0.origin.ts │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── import-sorter.json │ │ │ │ └── result.ts │ │ │ │ └── result.ts │ │ ├── group-end │ │ │ ├── 0 │ │ │ │ ├── 0.origin.ts │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── 3.origin.ts │ │ │ │ ├── eof │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── export │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ └── result.ts │ │ │ ├── 1 │ │ │ │ ├── 0.origin.ts │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── 3.origin.ts │ │ │ │ ├── eof │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── export │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ └── result.ts │ │ │ ├── 2 │ │ │ │ ├── 0.origin.ts │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── 3.origin.ts │ │ │ │ ├── 4.origin.ts │ │ │ │ ├── eof │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── export │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ ├── 4.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ └── result.ts │ │ │ └── import-sorter.json │ │ ├── group-sep │ │ │ ├── 0 │ │ │ │ ├── import-sorter.json │ │ │ │ └── origin.ts │ │ │ ├── 1 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ └── 2 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── max-line-length │ │ │ ├── 0 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── assert │ │ │ │ ├── def-names │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── def-ns │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── def │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── names │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── ns │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── no-semi │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── origin.ts │ │ │ ├── result.ts │ │ │ └── tab │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── quote │ │ │ ├── double │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ ├── semicolon │ │ │ ├── false │ │ │ │ ├── import-sorter.json │ │ │ │ └── origin.ts │ │ │ ├── import-sorter.json │ │ │ └── origin.ts │ │ ├── tab │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ ├── result.ts │ │ │ └── space │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ └── wrap │ │ │ ├── ignore-comments │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ │ ├── max-binding-names │ │ │ ├── 0 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ ├── result.ts │ │ │ ├── type.origin.ts │ │ │ └── type.result.ts │ │ │ ├── max-default-binding-names │ │ │ ├── 0 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ │ ├── prettier │ │ │ ├── exp-empty.origin.ts │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ │ └── wapped-line-names │ │ │ ├── 0 │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ ├── delete │ │ ├── both │ │ │ ├── 0-0.origin.ts │ │ │ ├── 0-0.result.ts │ │ │ ├── 0-1.origin.ts │ │ │ ├── 0-1.result.ts │ │ │ ├── 0-2.origin.ts │ │ │ ├── 0-3.origin.ts │ │ │ ├── 1-0.origin.ts │ │ │ ├── 1-0.result.ts │ │ │ ├── 1-1.origin.ts │ │ │ ├── 1-2.origin.ts │ │ │ ├── 1-3.origin.ts │ │ │ ├── 2-0.origin.ts │ │ │ ├── 2-1.origin.ts │ │ │ ├── 2-2.origin.ts │ │ │ ├── 2-3.origin.ts │ │ │ ├── 3-0.origin.ts │ │ │ ├── 3-1.origin.ts │ │ │ ├── 3-2.origin.ts │ │ │ ├── 3-3.origin.ts │ │ │ ├── result.ts │ │ │ └── use-strict │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-0.result.ts │ │ │ │ ├── 0-1.origin.ts │ │ │ │ ├── 0-1.result.ts │ │ │ │ ├── 0-2.origin.ts │ │ │ │ ├── 0-3.origin.ts │ │ │ │ ├── 1-0.origin.ts │ │ │ │ ├── 1-0.result.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-2.origin.ts │ │ │ │ ├── 1-3.origin.ts │ │ │ │ ├── 2-0.origin.ts │ │ │ │ ├── 2-1.origin.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ ├── 2-3.origin.ts │ │ │ │ ├── 3-0.origin.ts │ │ │ │ ├── 3-1.origin.ts │ │ │ │ ├── 3-2.origin.ts │ │ │ │ ├── 3-3.origin.ts │ │ │ │ └── result.ts │ │ ├── export │ │ │ ├── both │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-0.result.ts │ │ │ │ ├── 0-1.origin.ts │ │ │ │ ├── 0-1.result.ts │ │ │ │ ├── 0-2.origin.ts │ │ │ │ ├── 0-3.origin.ts │ │ │ │ ├── 1-0.origin.ts │ │ │ │ ├── 1-0.result.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-2.origin.ts │ │ │ │ ├── 1-3.origin.ts │ │ │ │ ├── 2-0.origin.ts │ │ │ │ ├── 2-1.origin.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ ├── 2-3.origin.ts │ │ │ │ ├── 3-0.origin.ts │ │ │ │ ├── 3-1.origin.ts │ │ │ │ ├── 3-2.origin.ts │ │ │ │ ├── 3-3.origin.ts │ │ │ │ └── result.ts │ │ │ ├── empty │ │ │ │ ├── export-disabled.origin.ts │ │ │ │ ├── export-disabled.result.ts │ │ │ │ ├── export-unhandled.origin.ts │ │ │ │ ├── export-unhandled.result.ts │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── import-decl-disabled.origin.ts │ │ │ │ ├── import-decl-disabled.result.ts │ │ │ │ ├── import-decl-unhandled.origin.ts │ │ │ │ ├── import-decl-unhandled.result.ts │ │ │ │ ├── import-decl.origin.ts │ │ │ │ ├── import-decl.result.ts │ │ │ │ ├── import-eq-disabled.origin.ts │ │ │ │ ├── import-eq-disabled.result.ts │ │ │ │ ├── import-eq-unhandled.origin.ts │ │ │ │ ├── import-eq-unhandled.result.ts │ │ │ │ ├── import-eq.origin.ts │ │ │ │ ├── import-eq.result.ts │ │ │ │ ├── keep-1 │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── export-comment.origin.ts │ │ │ │ │ ├── export-comment.result.ts │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── import.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── keep-2 │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── export-comment.origin.ts │ │ │ │ │ ├── export-comment.result.ts │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── import.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── keep-3 │ │ │ │ │ ├── a-0-comment.origin.ts │ │ │ │ │ ├── a-0-comment.result.ts │ │ │ │ │ ├── a-0.origin.ts │ │ │ │ │ ├── a-0.result.ts │ │ │ │ │ ├── a-b-comment.origin.ts │ │ │ │ │ ├── a-b-comment.result.ts │ │ │ │ │ ├── a-b.origin.ts │ │ │ │ │ └── a-b.result.ts │ │ │ ├── head │ │ │ │ ├── final-nl │ │ │ │ │ ├── 0-0.origin.ts │ │ │ │ │ ├── 0-1.origin.ts │ │ │ │ │ ├── 0-2.origin.ts │ │ │ │ │ ├── 1-0.origin.ts │ │ │ │ │ ├── 1-1.origin.ts │ │ │ │ │ ├── 1-2.origin.ts │ │ │ │ │ ├── 2-0.origin.ts │ │ │ │ │ ├── 2-1.origin.ts │ │ │ │ │ ├── 2-2.origin.ts │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ └── result.ts │ │ │ │ └── no-final-nl │ │ │ │ │ ├── 0-0.origin.ts │ │ │ │ │ ├── 0-1.origin.ts │ │ │ │ │ ├── 0-2.origin.ts │ │ │ │ │ ├── 1-0.origin.ts │ │ │ │ │ ├── 1-1.origin.ts │ │ │ │ │ ├── 1-2.origin.ts │ │ │ │ │ ├── 2-0.origin.ts │ │ │ │ │ ├── 2-1.origin.ts │ │ │ │ │ ├── 2-2.origin.ts │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ └── tail │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ └── result.ts │ │ ├── head │ │ │ ├── final-nl │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-1.origin.ts │ │ │ │ ├── 0-2.origin.ts │ │ │ │ ├── 1-0.origin.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-2.origin.ts │ │ │ │ ├── 2-0.origin.ts │ │ │ │ ├── 2-1.origin.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── result.ts │ │ │ │ └── use-strict │ │ │ │ │ ├── 0-0.origin.ts │ │ │ │ │ ├── 0-1.origin.ts │ │ │ │ │ ├── 0-2.origin.ts │ │ │ │ │ ├── 1-0.origin.ts │ │ │ │ │ ├── 1-1.origin.ts │ │ │ │ │ ├── 1-2.origin.ts │ │ │ │ │ ├── 2-0.origin.ts │ │ │ │ │ ├── 2-1.origin.ts │ │ │ │ │ ├── 2-2.origin.ts │ │ │ │ │ └── result.ts │ │ │ └── no-final-nl │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-1.origin.ts │ │ │ │ ├── 0-2.origin.ts │ │ │ │ ├── 1-0.origin.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-2.origin.ts │ │ │ │ ├── 2-0.origin.ts │ │ │ │ ├── 2-1.origin.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── result.ts │ │ │ │ └── use-strict │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-1.origin.ts │ │ │ │ ├── 0-2.origin.ts │ │ │ │ ├── 1-0.origin.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-2.origin.ts │ │ │ │ ├── 2-0.origin.ts │ │ │ │ ├── 2-1.origin.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ └── result.ts │ │ ├── none │ │ │ ├── 0-0.origin.ts │ │ │ ├── 1-1.origin.ts │ │ │ ├── 2-2.origin.ts │ │ │ └── result.ts │ │ └── tail │ │ │ ├── 0-0.origin.ts │ │ │ ├── 1-1.origin.ts │ │ │ ├── 2-2.origin.ts │ │ │ └── result.ts │ ├── disable │ │ ├── file_1.origin.ts │ │ ├── file_2.origin.ts │ │ ├── first.origin.ts │ │ ├── force │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ ├── import-sorter.json │ │ ├── imports.origin.ts │ │ ├── imports.result.ts │ │ ├── last.origin.ts │ │ ├── last.result.ts │ │ ├── middle.origin.ts │ │ ├── middle.result.ts │ │ └── scripts │ │ │ ├── edge.origin.ts │ │ │ ├── edge.result.ts │ │ │ ├── first.origin.ts │ │ │ ├── first.result.ts │ │ │ ├── import-sorter.json │ │ │ ├── last.origin.ts │ │ │ ├── last.result.ts │ │ │ ├── middle.origin.ts │ │ │ └── middle.result.ts │ ├── duplicate │ │ ├── 1.origin.ts │ │ ├── 1.result.ts │ │ ├── 2.origin.ts │ │ ├── 2.result.ts │ │ ├── import-sorter.json │ │ ├── origin.ts │ │ ├── result.ts │ │ ├── type.origin.ts │ │ └── type.result.ts │ ├── eslint │ │ ├── .eslintrc.json │ │ ├── comma-dangle │ │ │ ├── both │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── always-multiline │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── always │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── ignore │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── never │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── object │ │ │ │ │ ├── always-multiline │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ │ ├── export.result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── always │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ │ ├── export.result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── ignore │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ │ ├── export.result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ └── never │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ │ ├── export.result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ ├── only-multiline │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── js │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── always-multiline │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── always │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── ignore │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── never │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── object │ │ │ │ │ ├── always-multiline │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ │ ├── export.result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── always │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ │ ├── export.result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── ignore │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ │ ├── export.result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ └── never │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ │ ├── export.result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ ├── only-multiline │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ └── ts │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── always-multiline │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── always │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── ignore │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── never │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── object │ │ │ │ ├── always-multiline │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── always │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── ignore │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── never │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── export.origin.ts │ │ │ │ │ ├── export.result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── only-multiline │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── eol-last │ │ │ ├── always │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── import.origin.ts │ │ │ │ └── import.result.ts │ │ │ ├── import-sorter.json │ │ │ └── never │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── export.origin.ts │ │ │ │ ├── export.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── import.origin.ts │ │ │ │ └── import.result.ts │ │ ├── ignoreESLintRules │ │ │ ├── .eslintrc.json │ │ │ ├── array │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── disable-all │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── empty-string │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ └── string │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── import-sorter.json │ │ ├── import │ │ │ ├── newline-after-import │ │ │ │ ├── 1 │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ ├── eof │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── export │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 2 │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ ├── 4.origin.ts │ │ │ │ │ ├── eof │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ │ ├── 4.origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── export │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ │ ├── 4.origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── def │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ ├── eof │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── export │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ └── result.ts │ │ │ │ └── import-sorter.json │ │ │ └── no-useless-path-segments │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── import-sorter.json │ │ │ │ ├── noUselessIndex │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── indent │ │ │ ├── both │ │ │ │ ├── space │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── tab │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── js │ │ │ │ ├── space │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── tab │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ └── ts │ │ │ │ ├── space │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ └── tab │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── max-len │ │ │ ├── code │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── ignoreComments │ │ │ │ ├── 0-0 │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 0-1 │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 1-0 │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── 1-1 │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ └── tabWidth │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ ├── result.ts │ │ │ │ └── tab │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── object-curly-spacing │ │ │ ├── both │ │ │ │ ├── always │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── 2nd-option │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── never │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── 2nd-opiton │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── js │ │ │ │ ├── always │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── 2nd-option │ │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── never │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── 2nd-opiton │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ └── ts │ │ │ │ ├── always │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── 2nd-option │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ └── never │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── 2nd-opiton │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── origin.ts │ │ ├── result.ts │ │ ├── semi │ │ │ ├── both │ │ │ │ ├── always │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── never │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── js │ │ │ │ ├── always │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── never │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ └── ts │ │ │ │ ├── always │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ └── never │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ └── sort-imports │ │ │ ├── .eslintrc.json │ │ │ ├── allowSeparatedGroups │ │ │ ├── false │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ └── true │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── default-opt │ │ │ ├── .eslintrc.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ │ ├── ignoreCase │ │ │ ├── false │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ └── true │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── allowSeparatedGroups │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── ignoreDeclarationSort │ │ │ ├── false │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ └── true │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── byName │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── ignoreMemberSort │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── allowSeparatedGroups │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── ignoreMemberSort │ │ │ ├── false │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ └── true │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── allowSeparatedGroups │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── ignored │ │ │ ├── .eslintrc.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ │ └── memberSyntaxSortOrder │ │ │ ├── m-n-a-s │ │ │ ├── .eslintrc.json │ │ │ ├── allowSeparatedGroups │ │ │ │ ├── .eslintrc.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ │ └── s-a-m-n │ │ │ ├── .eslintrc.json │ │ │ ├── allowSeparatedGroups │ │ │ ├── .eslintrc.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ │ ├── origin.ts │ │ │ └── result.ts │ ├── group │ │ ├── builtin │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ ├── regex │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── result.ts │ │ │ └── sub-group │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ ├── regex │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ └── result.ts │ │ ├── flag │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ ├── p_all │ │ │ │ ├── c_all │ │ │ │ │ ├── all │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── null │ │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ │ └── result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ └── combined │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── null │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ ├── c_named │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── null │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── c_scripts │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── null │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── c_undefined │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── null │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── p_named │ │ │ │ ├── import-sorter.json │ │ │ │ ├── null │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── p_scripts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── null │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── p_undefined │ │ │ │ ├── c_all │ │ │ │ │ ├── all │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── null │ │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ │ └── result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ └── combined │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── null │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ ├── c_named │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── null │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── c_scripts │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── null │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── c_undefined │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── null │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ └── result.ts │ │ ├── import-type │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ ├── result.ts │ │ │ └── sub-group │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── level_0 │ │ │ ├── import-sorter.json │ │ │ ├── null │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ ├── level_1 │ │ │ ├── fall-back │ │ │ │ ├── import-sorter.json │ │ │ │ ├── multiple │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ ├── result.ts │ │ │ └── scripts │ │ │ │ ├── fall-back │ │ │ │ ├── import-sorter.json │ │ │ │ ├── multiple │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── multiple │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── level_2 │ │ │ ├── empty │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── fall-back │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ ├── result.ts │ │ │ └── scripts │ │ │ │ ├── fall-back │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ └── level_N │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ ├── import-sorter.json │ ├── insert-lines │ │ ├── export │ │ │ ├── 0-0.origin.ts │ │ │ ├── 0-0.result.ts │ │ │ ├── 0-1.origin.ts │ │ │ ├── 0-1.result.ts │ │ │ ├── 0-2.origin.ts │ │ │ ├── 0-2.result.ts │ │ │ ├── 0-3.origin.ts │ │ │ ├── 0-3.result.ts │ │ │ ├── 0-4.origin.ts │ │ │ ├── 0-4.result.ts │ │ │ ├── 1-0.origin.ts │ │ │ ├── 1-0.result.ts │ │ │ ├── 1-1.origin.ts │ │ │ ├── 1-1.result.ts │ │ │ ├── 1-2.origin.ts │ │ │ ├── 1-2.result.ts │ │ │ ├── 1-3.origin.ts │ │ │ ├── 1-3.result.ts │ │ │ ├── 1-4.origin.ts │ │ │ ├── 1-4.result.ts │ │ │ ├── 2-0.origin.ts │ │ │ ├── 2-0.result.ts │ │ │ ├── 2-1.origin.ts │ │ │ ├── 2-1.result.ts │ │ │ ├── 2-2.origin.ts │ │ │ ├── 2-2.result.ts │ │ │ ├── 2-3.origin.ts │ │ │ ├── 2-3.result.ts │ │ │ ├── 3-0.origin.ts │ │ │ ├── 3-0.result.ts │ │ │ ├── 3-1.origin.ts │ │ │ ├── 3-1.result.ts │ │ │ ├── 3-2.origin.ts │ │ │ ├── 3-2.result.ts │ │ │ ├── 3-3.origin.ts │ │ │ ├── 3-3.result.ts │ │ │ ├── import-sorter.json │ │ │ ├── middle-0.origin.ts │ │ │ ├── middle-1.origin.ts │ │ │ ├── middle-2.origin.ts │ │ │ ├── middle-2.result.ts │ │ │ ├── no-head │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-0.result.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-1.result.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ ├── 2-2.result.ts │ │ │ │ ├── 3-3.origin.ts │ │ │ │ └── 3-3.result.ts │ │ │ └── no-tail │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-0.result.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-1.result.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ ├── 2-2.result.ts │ │ │ │ ├── 3-3.origin.ts │ │ │ │ ├── 3-3.result.ts │ │ │ │ └── final-nl │ │ │ │ ├── 0-0.origin.ts │ │ │ │ ├── 0-0.result.ts │ │ │ │ ├── 1-1.origin.ts │ │ │ │ ├── 1-1.result.ts │ │ │ │ ├── 2-2.origin.ts │ │ │ │ ├── 2-2.result.ts │ │ │ │ ├── 3-3.origin.ts │ │ │ │ ├── 3-3.result.ts │ │ │ │ └── import-sorter.json │ │ ├── head │ │ │ ├── comments │ │ │ │ ├── keep │ │ │ │ │ ├── 1 │ │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── 2-0.origin.ts │ │ │ │ │ ├── 2-1.origin.ts │ │ │ │ │ ├── 2-2.origin.ts │ │ │ │ │ ├── 2-3.origin.ts │ │ │ │ │ ├── 3-0.origin.ts │ │ │ │ │ ├── 3-1.origin.ts │ │ │ │ │ ├── 3-2.origin.ts │ │ │ │ │ ├── 3-3.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── move │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 1.result.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── disabled │ │ │ │ ├── keep │ │ │ │ │ ├── 23 │ │ │ │ │ │ ├── 2-0.origin.ts │ │ │ │ │ │ ├── 2-1.origin.ts │ │ │ │ │ │ ├── 2-2.origin.ts │ │ │ │ │ │ ├── 2-3.origin.ts │ │ │ │ │ │ ├── 3-0.origin.ts │ │ │ │ │ │ ├── 3-1.origin.ts │ │ │ │ │ │ ├── 3-2.origin.ts │ │ │ │ │ │ ├── 3-3.origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ └── 01 │ │ │ │ │ │ ├── 0-0.origin.ts │ │ │ │ │ │ ├── 0-1.origin.ts │ │ │ │ │ │ ├── 0-2.origin.ts │ │ │ │ │ │ ├── 0-3.origin.ts │ │ │ │ │ │ ├── 1-0.origin.ts │ │ │ │ │ │ ├── 1-1.origin.ts │ │ │ │ │ │ ├── 1-2.origin.ts │ │ │ │ │ │ ├── 1-3.origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ └── move │ │ │ │ │ ├── 0.origin.ts │ │ │ │ │ ├── 0.result.ts │ │ │ │ │ ├── 1.origin.ts │ │ │ │ │ ├── 1.result.ts │ │ │ │ │ ├── 2.origin.ts │ │ │ │ │ ├── 3.origin.ts │ │ │ │ │ └── result.ts │ │ │ └── use-strict │ │ │ │ ├── keep │ │ │ │ ├── 23 │ │ │ │ │ ├── 2-0.origin.ts │ │ │ │ │ ├── 2-1.origin.ts │ │ │ │ │ ├── 2-2.origin.ts │ │ │ │ │ ├── 2-3.origin.ts │ │ │ │ │ ├── 3-0.origin.ts │ │ │ │ │ ├── 3-1.origin.ts │ │ │ │ │ ├── 3-2.origin.ts │ │ │ │ │ ├── 3-3.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── 01 │ │ │ │ │ ├── 0-0.origin.ts │ │ │ │ │ ├── 0-1.origin.ts │ │ │ │ │ ├── 0-2.origin.ts │ │ │ │ │ ├── 0-3.origin.ts │ │ │ │ │ ├── 1-0.origin.ts │ │ │ │ │ ├── 1-1.origin.ts │ │ │ │ │ ├── 1-2.origin.ts │ │ │ │ │ ├── 1-3.origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── move │ │ │ │ ├── 0.origin.ts │ │ │ │ ├── 0.result.ts │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 1.result.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── 3.origin.ts │ │ │ │ └── result.ts │ │ ├── import-sorter.json │ │ └── no-head │ │ │ ├── keep │ │ │ ├── 0-0.origin.ts │ │ │ ├── 1-1.origin.ts │ │ │ ├── 2-2.origin.ts │ │ │ ├── 3-3.origin.ts │ │ │ └── result.ts │ │ │ └── move │ │ │ ├── 0.origin.ts │ │ │ ├── 1.origin.ts │ │ │ ├── 2.origin.ts │ │ │ ├── 3.origin.ts │ │ │ └── result.ts │ ├── insert-point │ │ ├── all.origin.ts │ │ ├── all.result.ts │ │ ├── disabled.origin.ts │ │ ├── disabled.result.ts │ │ ├── file-comments.origin.ts │ │ ├── file-comments.result.ts │ │ ├── none.origin.ts │ │ ├── none.result.ts │ │ ├── triple-slash.origin.ts │ │ ├── triple-slash.result.ts │ │ └── use-strict │ │ │ ├── fake.origin.ts │ │ │ ├── fake.result.ts │ │ │ ├── origin.ts │ │ │ └── result.ts │ ├── merge │ │ ├── assert.origin.ts │ │ ├── assert.result.ts │ │ ├── bindings │ │ │ ├── origin.ts │ │ │ ├── result.ts │ │ │ └── sort-none │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── comments │ │ │ ├── origin.ts │ │ │ ├── result.ts │ │ │ ├── scripts.origin.ts │ │ │ └── scripts.result.ts │ │ ├── export │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ ├── result.ts │ │ │ ├── type.origin.ts │ │ │ └── type.result.ts │ │ ├── import-sorter.json │ │ ├── multi-1.origin.ts │ │ ├── multi-1.result.ts │ │ ├── multi-2.origin.ts │ │ ├── multi-2.result.ts │ │ ├── origin.ts │ │ ├── result.ts │ │ └── sort-none │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ ├── nothing │ │ ├── comments.origin.ts │ │ ├── empty.origin.ts │ │ ├── import-sorter.json │ │ ├── origin.ts │ │ └── trim.origin.ts │ ├── others │ │ ├── defaultName.origin.ts │ │ ├── defaultName.result.ts │ │ ├── import-sorter.json │ │ ├── type.origin.ts │ │ ├── useless-alias.origin.ts │ │ └── useless-alias.result.ts │ ├── package.json │ ├── path-norm │ │ ├── export.origin.ts │ │ ├── export.result.ts │ │ ├── import-sorter.json │ │ ├── import.origin.ts │ │ ├── import.result.ts │ │ ├── node-protocol │ │ │ ├── always │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── none │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ └── preserve │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ ├── rm-index-slash │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ ├── rm-index │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ └── rm-slash │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ ├── prettier │ │ └── singleQuote │ │ │ ├── false │ │ │ ├── origin.ts │ │ │ └── package.json │ │ │ └── true │ │ │ ├── origin.ts │ │ │ └── package.json │ ├── satisfies │ │ ├── a.ts │ │ ├── origin.ts │ │ └── ts4.9.3bug.origin.ts │ ├── shebang │ │ ├── 1.origin.ts │ │ ├── 1.result.ts │ │ ├── 2.origin.ts │ │ ├── 2.result.ts │ │ ├── 3.origin.ts │ │ ├── 3.result.ts │ │ ├── all │ │ │ ├── 1.origin.ts │ │ │ ├── 1.result.ts │ │ │ ├── 2.origin.ts │ │ │ ├── 2.result.ts │ │ │ ├── 3.origin.ts │ │ │ ├── 3.result.ts │ │ │ ├── disable.origin.ts │ │ │ └── disable.result.ts │ │ ├── comments │ │ │ ├── global │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 1.result.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── 2.result.ts │ │ │ │ ├── 3.origin.ts │ │ │ │ └── 3.result.ts │ │ │ └── local │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 1.result.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── 2.result.ts │ │ │ │ ├── 3.origin.ts │ │ │ │ └── 3.result.ts │ │ ├── triple-slash │ │ │ ├── 1.origin.ts │ │ │ ├── 1.result.ts │ │ │ ├── 2.origin.ts │ │ │ ├── 2.result.ts │ │ │ ├── 3.origin.ts │ │ │ └── 3.result.ts │ │ └── use │ │ │ ├── all │ │ │ ├── 1.origin.ts │ │ │ ├── 1.result.ts │ │ │ ├── 2.origin.ts │ │ │ ├── 2.result.ts │ │ │ ├── 3.origin.ts │ │ │ └── 3.result.ts │ │ │ ├── cache │ │ │ ├── 1.origin.ts │ │ │ ├── 1.result.ts │ │ │ ├── 2.origin.ts │ │ │ ├── 2.result.ts │ │ │ ├── 3.origin.ts │ │ │ └── 3.result.ts │ │ │ ├── client │ │ │ ├── 1.origin.ts │ │ │ ├── 1.result.ts │ │ │ ├── 2.origin.ts │ │ │ ├── 2.result.ts │ │ │ ├── 3.origin.ts │ │ │ └── 3.result.ts │ │ │ ├── server │ │ │ ├── 1.origin.ts │ │ │ ├── 1.result.ts │ │ │ ├── 2.origin.ts │ │ │ ├── 2.result.ts │ │ │ ├── 3.origin.ts │ │ │ └── 3.result.ts │ │ │ └── strict │ │ │ ├── 1.origin.ts │ │ │ ├── 1.result.ts │ │ │ ├── 2.origin.ts │ │ │ ├── 2.result.ts │ │ │ ├── 3.origin.ts │ │ │ └── 3.result.ts │ ├── sort │ │ ├── assert │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ ├── by-names │ │ │ ├── 0-1-2 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 0-21 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 12-0 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── def-ns-bd.origin.ts │ │ │ ├── def-ns-bd.result.ts │ │ │ ├── first-name.origin.ts │ │ │ ├── first-name.result.ts │ │ │ ├── group │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── name-array │ │ │ │ ├── diff.origin.ts │ │ │ │ ├── diff.result.ts │ │ │ │ ├── equal.origin.ts │ │ │ │ ├── equal.result.ts │ │ │ │ ├── origin.ts │ │ │ │ ├── short.origin.ts │ │ │ │ └── short.result.ts │ │ │ ├── none │ │ │ │ ├── import-sorter.json │ │ │ │ └── origin.ts │ │ │ ├── sub-group │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── type.origin.ts │ │ │ └── type.result.ts │ │ ├── by-paths │ │ │ ├── 0-1-2 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 0-12 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 0-21 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 1-0-2 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 12-0 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 2-1-0 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 21-0 │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 2nd-sort.origin.ts │ │ │ ├── 2nd-sort.result.ts │ │ │ ├── def-ns-bd.origin.ts │ │ │ ├── def-ns-bd.result.ts │ │ │ ├── fall-back │ │ │ │ ├── 0 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 1 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 2 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── empty │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── null │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── group │ │ │ │ ├── import-sorter.json │ │ │ │ ├── merge │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── names-none │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── none │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ ├── result.ts │ │ │ │ │ └── sort-none │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ ├── result.ts │ │ │ │ └── sub-group │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── none │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ ├── result.ts │ │ │ │ │ └── sort-none │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── incomplete │ │ │ │ ├── 12 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 21 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 1-0 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 2-0 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── 2-1 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── none │ │ │ │ ├── import-sorter.json │ │ │ │ └── origin.ts │ │ │ ├── overlap │ │ │ │ ├── 1-21 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 12-1 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 2-12 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── 21-2 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── segment │ │ │ │ ├── 12 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 21 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 1.result.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── 2.result.ts │ │ │ │ └── import-sorter.json │ │ │ ├── sub-group │ │ │ │ ├── import-sorter.json │ │ │ │ ├── merge │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── names-none │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── no-group │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── none │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ ├── result.ts │ │ │ │ │ │ └── sort-none │ │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── none │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ ├── result.ts │ │ │ │ │ └── sort-none │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── type.origin.ts │ │ │ └── type.result.ts │ │ ├── names │ │ │ ├── 0-1-2 │ │ │ │ ├── aliasName.origin.ts │ │ │ │ ├── aliasName.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── namespace.origin.ts │ │ │ │ ├── namespace.result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 0-12 │ │ │ │ ├── aliasName.origin.ts │ │ │ │ ├── aliasName.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 0-2-1 │ │ │ │ ├── defaultName.origin.ts │ │ │ │ ├── defaultName.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 0-21 │ │ │ │ ├── defaultName.origin.ts │ │ │ │ ├── defaultName.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 1-0-2 │ │ │ │ ├── defaultName.origin.ts │ │ │ │ ├── defaultName.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── namespace.origin.ts │ │ │ │ ├── namespace.result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 1-2-0 │ │ │ │ ├── aliasName.origin.ts │ │ │ │ ├── aliasName.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 12-0 │ │ │ │ ├── defaultName.origin.ts │ │ │ │ ├── defaultName.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 2-0-1 │ │ │ │ ├── aliasName.origin.ts │ │ │ │ ├── aliasName.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── namespace.origin.ts │ │ │ │ ├── namespace.result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 2-1-0 │ │ │ │ ├── defaultName.origin.ts │ │ │ │ ├── defaultName.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── 21-0 │ │ │ │ ├── aliasName.origin.ts │ │ │ │ ├── aliasName.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ ├── export │ │ │ │ ├── alias.origin.ts │ │ │ │ ├── alias.result.ts │ │ │ │ ├── as-default.origin.ts │ │ │ │ ├── as-default.result.ts │ │ │ │ ├── default-as.origin.ts │ │ │ │ ├── default-as.result.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ ├── prop.origin.ts │ │ │ │ ├── prop.result.ts │ │ │ │ └── result.ts │ │ │ ├── fall-back │ │ │ │ ├── 0 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 1 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 2 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── empty │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── null │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── group │ │ │ │ ├── import-sorter.json │ │ │ │ ├── merge │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ ├── paths-none │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── none │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ ├── result.ts │ │ │ │ │ └── sort-none │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ ├── result.ts │ │ │ │ └── sub-group │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── none │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ ├── result.ts │ │ │ │ │ └── sort-none │ │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ │ ├── origin.ts │ │ │ │ │ │ └── result.ts │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── import-sorter.json │ │ │ ├── incomplete │ │ │ │ ├── 12 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 21 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 0-1 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 0-2 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── 1-2 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── none │ │ │ │ ├── aliasName.origin.ts │ │ │ │ ├── aliasName.result.ts │ │ │ │ ├── defaultName.origin.ts │ │ │ │ ├── import-sorter.json │ │ │ │ ├── namespace.origin.ts │ │ │ │ └── origin.ts │ │ │ ├── overlap │ │ │ │ ├── 1-12 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 12-2 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 2-21 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── 21-1 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ ├── prop-alias.origin.ts │ │ │ ├── prop-alias.result.ts │ │ │ ├── prop-default.origin.ts │ │ │ ├── prop-default.result.ts │ │ │ ├── segment │ │ │ │ ├── 12 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 21 │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── 1.origin.ts │ │ │ │ ├── 1.result.ts │ │ │ │ ├── 2.origin.ts │ │ │ │ ├── 2.result.ts │ │ │ │ └── import-sorter.json │ │ │ └── sub-group │ │ │ │ ├── import-sorter.json │ │ │ │ ├── merge │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ ├── paths-none │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ └── result.ts │ │ │ │ ├── no-group │ │ │ │ ├── import-sorter.json │ │ │ │ ├── none │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ │ │ ├── none │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.ts │ │ │ │ ├── result.ts │ │ │ │ └── sort-none │ │ │ │ │ ├── import-sorter.json │ │ │ │ │ ├── origin.ts │ │ │ │ │ └── result.ts │ │ │ │ ├── origin.ts │ │ │ │ └── result.ts │ │ └── none │ │ │ ├── import-sorter.json │ │ │ └── origin.ts │ ├── tsconfig │ │ ├── h │ │ │ ├── js.origin.js │ │ │ ├── js.result.js │ │ │ ├── jsx.origin.jsx │ │ │ ├── jsx.result.jsx │ │ │ ├── ts.origin.ts │ │ │ ├── ts.result.ts │ │ │ ├── tsconfig.json │ │ │ ├── tsx.origin.tsx │ │ │ └── tsx.result.tsx │ │ └── jsx-preserve │ │ │ ├── js.origin.js │ │ │ ├── js.result.js │ │ │ ├── jsx.origin.jsx │ │ │ ├── jsx.result.jsx │ │ │ ├── ts.origin.ts │ │ │ ├── ts.result.ts │ │ │ ├── tsconfig.json │ │ │ ├── tsx.origin.tsx │ │ │ └── tsx.result.tsx │ ├── unused │ │ ├── deep.origin.ts │ │ ├── deep.result.ts │ │ ├── dup.origin.ts │ │ ├── dup.result.ts │ │ ├── jsx.origin.tsx │ │ ├── keep │ │ │ ├── import-sorter.json │ │ │ ├── origin.ts │ │ │ └── result.ts │ │ ├── origin.ts │ │ └── result.ts │ └── vue │ │ ├── import-sorter.json │ │ ├── lang-default │ │ ├── empty │ │ │ ├── 0.origin.vue │ │ │ ├── 0.space.origin.vue │ │ │ ├── 1.origin.vue │ │ │ ├── 1.space.origin.vue │ │ │ ├── 2.origin.vue │ │ │ ├── 2.space.origin.vue │ │ │ ├── 3.origin.vue │ │ │ └── 3.space.origin.vue │ │ ├── new-lines │ │ │ ├── 0.origin.vue │ │ │ ├── 0.space.origin.vue │ │ │ ├── 1.origin.vue │ │ │ ├── 1.space.origin.vue │ │ │ ├── 2.origin.vue │ │ │ ├── 2.space.origin.vue │ │ │ ├── empty │ │ │ │ ├── 0.origin.vue.bak │ │ │ │ ├── 0.space.origin.vue.bak │ │ │ │ ├── 1.origin.vue.bak │ │ │ │ ├── 1.space.origin.vue.bak │ │ │ │ ├── 2.origin.vue.bak │ │ │ │ ├── 2.space.origin.vue.bak │ │ │ │ └── result.vue │ │ │ ├── no-imports │ │ │ │ ├── 0.origin.vue │ │ │ │ ├── 0.space.origin.vue │ │ │ │ ├── 1.origin.vue │ │ │ │ ├── 1.space.origin.vue │ │ │ │ ├── 2.origin.vue │ │ │ │ ├── 2.space.origin.vue │ │ │ │ └── result.vue │ │ │ ├── result.vue │ │ │ └── unchanged │ │ │ │ ├── final-nl │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.vue │ │ │ │ └── result.vue │ │ │ │ └── no-final-nl │ │ │ │ ├── import-sorter.json │ │ │ │ ├── origin.vue │ │ │ │ └── result.vue │ │ ├── origin.vue │ │ ├── result.vue │ │ ├── setup.origin.vue │ │ ├── setup.result.vue │ │ └── tsconfig │ │ │ ├── h │ │ │ ├── origin.vue │ │ │ ├── result.vue │ │ │ └── tsconfig.json │ │ │ ├── origin.vue │ │ │ ├── result.vue │ │ │ └── tsconfig.json │ │ ├── lang-js │ │ ├── origin.vue │ │ ├── result.vue │ │ ├── setup.origin.vue │ │ ├── setup.result.vue │ │ └── tsconfig │ │ │ ├── h │ │ │ ├── origin.vue │ │ │ ├── result.vue │ │ │ └── tsconfig.json │ │ │ ├── origin.vue │ │ │ ├── result.vue │ │ │ └── tsconfig.json │ │ ├── lang-jsx │ │ ├── origin.vue │ │ ├── result.vue │ │ ├── setup.origin.vue │ │ ├── setup.result.vue │ │ └── tsconfig │ │ │ ├── h │ │ │ ├── origin.vue │ │ │ ├── result.vue │ │ │ └── tsconfig.json │ │ │ ├── origin.vue │ │ │ ├── result.vue │ │ │ └── tsconfig.json │ │ ├── lang-other │ │ ├── origin.vue │ │ └── setup.origin.vue │ │ ├── lang-ts │ │ ├── origin.vue │ │ ├── result.vue │ │ ├── setup.origin.vue │ │ ├── setup.result.vue │ │ └── tsconfig │ │ │ ├── h │ │ │ ├── origin.vue │ │ │ ├── result.vue │ │ │ └── tsconfig.json │ │ │ ├── origin.vue │ │ │ ├── result.vue │ │ │ └── tsconfig.json │ │ ├── lang-tsx │ │ ├── origin.vue │ │ ├── result.vue │ │ ├── setup.origin.vue │ │ ├── setup.result.vue │ │ └── tsconfig │ │ │ ├── h │ │ │ ├── origin.vue │ │ │ ├── result.vue │ │ │ └── tsconfig.json │ │ │ ├── origin.vue │ │ │ ├── result.vue │ │ │ └── tsconfig.json │ │ └── using-component │ │ ├── dynamic.origin.vue │ │ ├── dynamic.result.vue │ │ ├── namespace.origin.vue │ │ └── origin.vue │ └── formatSource.test.ts ├── tsconfig.json └── webpack.config.ts /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | indent_size = 2 -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/.github/workflows/node.js.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/.prettierignore -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/TODO.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/functions/breakFlag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/functions/breakFlag.md -------------------------------------------------------------------------------- /docs/functions/formatSourceFromFile.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/functions/formatSourceFromFile.md -------------------------------------------------------------------------------- /docs/functions/formatSourceWithoutFile.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/functions/formatSourceWithoutFile.md -------------------------------------------------------------------------------- /docs/functions/isFileExcludedByConfig.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/functions/isFileExcludedByConfig.md -------------------------------------------------------------------------------- /docs/functions/loadConfigFromJsonFile.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/functions/loadConfigFromJsonFile.md -------------------------------------------------------------------------------- /docs/functions/mergeConfig.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/functions/mergeConfig.md -------------------------------------------------------------------------------- /docs/functions/resolveConfigForFile.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/functions/resolveConfigForFile.md -------------------------------------------------------------------------------- /docs/functions/resolveConfigForSource.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/functions/resolveConfigForSource.md -------------------------------------------------------------------------------- /docs/interfaces/Configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/interfaces/Configuration.md -------------------------------------------------------------------------------- /docs/interfaces/GroupRule.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/interfaces/GroupRule.md -------------------------------------------------------------------------------- /docs/interfaces/SortRules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/interfaces/SortRules.md -------------------------------------------------------------------------------- /docs/interfaces/WrappingRule.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/interfaces/WrappingRule.md -------------------------------------------------------------------------------- /docs/type-aliases/CompareRule.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/type-aliases/CompareRule.md -------------------------------------------------------------------------------- /docs/type-aliases/Extension.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/type-aliases/Extension.md -------------------------------------------------------------------------------- /docs/type-aliases/FlagSymbol.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/type-aliases/FlagSymbol.md -------------------------------------------------------------------------------- /docs/type-aliases/KeepUnusedRule.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/type-aliases/KeepUnusedRule.md -------------------------------------------------------------------------------- /docs/variables/CLI_NAME.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/variables/CLI_NAME.md -------------------------------------------------------------------------------- /docs/variables/COMPARE_RULE_DEFAULT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/variables/COMPARE_RULE_DEFAULT.md -------------------------------------------------------------------------------- /docs/variables/DEFAULT_MERGER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/variables/DEFAULT_MERGER.md -------------------------------------------------------------------------------- /docs/variables/GROUP_RULES_DEFAULT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/variables/GROUP_RULES_DEFAULT.md -------------------------------------------------------------------------------- /docs/variables/SUPPORTED_EXTENSIONS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/variables/SUPPORTED_EXTENSIONS.md -------------------------------------------------------------------------------- /docs/variables/VERSION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/docs/variables/VERSION.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/package.json -------------------------------------------------------------------------------- /schemas/import-sorter.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/schemas/import-sorter.schema.json -------------------------------------------------------------------------------- /schemas/package-json.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/schemas/package-json.schema.json -------------------------------------------------------------------------------- /src/bin/check.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/bin/check.ts -------------------------------------------------------------------------------- /src/bin/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/bin/config.ts -------------------------------------------------------------------------------- /src/bin/format.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/bin/format.ts -------------------------------------------------------------------------------- /src/bin/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/bin/main.ts -------------------------------------------------------------------------------- /src/bin/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/bin/options.ts -------------------------------------------------------------------------------- /src/bin/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/bin/utils.ts -------------------------------------------------------------------------------- /src/lib/common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/common/index.ts -------------------------------------------------------------------------------- /src/lib/config/importSorter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/config/importSorter.ts -------------------------------------------------------------------------------- /src/lib/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/config/index.ts -------------------------------------------------------------------------------- /src/lib/config/merge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/config/merge.ts -------------------------------------------------------------------------------- /src/lib/config/prettier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/config/prettier.ts -------------------------------------------------------------------------------- /src/lib/config/types/grouping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/config/types/grouping.ts -------------------------------------------------------------------------------- /src/lib/config/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/config/types/index.ts -------------------------------------------------------------------------------- /src/lib/config/types/sorting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/config/types/sorting.ts -------------------------------------------------------------------------------- /src/lib/config/types/unused.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/config/types/unused.ts -------------------------------------------------------------------------------- /src/lib/config/types/wrapping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/config/types/wrapping.ts -------------------------------------------------------------------------------- /src/lib/format/compose/AttributesPart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/compose/AttributesPart.ts -------------------------------------------------------------------------------- /src/lib/format/compose/ComposeLine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/compose/ComposeLine.ts -------------------------------------------------------------------------------- /src/lib/format/compose/ComposeResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/compose/ComposeResult.ts -------------------------------------------------------------------------------- /src/lib/format/compose/NamedPart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/compose/NamedPart.ts -------------------------------------------------------------------------------- /src/lib/format/compose/SemiPart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/compose/SemiPart.ts -------------------------------------------------------------------------------- /src/lib/format/compose/StringPart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/compose/StringPart.ts -------------------------------------------------------------------------------- /src/lib/format/compose/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/compose/index.ts -------------------------------------------------------------------------------- /src/lib/format/compose/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/compose/types.ts -------------------------------------------------------------------------------- /src/lib/format/config/compose.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/compose.ts -------------------------------------------------------------------------------- /src/lib/format/config/eslint/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/eslint/helper.ts -------------------------------------------------------------------------------- /src/lib/format/config/eslint/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/eslint/index.ts -------------------------------------------------------------------------------- /src/lib/format/config/eslint/rules/comma-dangle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/eslint/rules/comma-dangle.ts -------------------------------------------------------------------------------- /src/lib/format/config/eslint/rules/eol-last.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/eslint/rules/eol-last.ts -------------------------------------------------------------------------------- /src/lib/format/config/eslint/rules/indent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/eslint/rules/indent.ts -------------------------------------------------------------------------------- /src/lib/format/config/eslint/rules/max-len.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/eslint/rules/max-len.ts -------------------------------------------------------------------------------- /src/lib/format/config/eslint/rules/semi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/eslint/rules/semi.ts -------------------------------------------------------------------------------- /src/lib/format/config/eslint/rules/sort-imports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/eslint/rules/sort-imports.ts -------------------------------------------------------------------------------- /src/lib/format/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/index.ts -------------------------------------------------------------------------------- /src/lib/format/config/tsconfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/config/tsconfig.ts -------------------------------------------------------------------------------- /src/lib/format/edit/EditManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/edit/EditManager.ts -------------------------------------------------------------------------------- /src/lib/format/edit/apply.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/edit/apply.ts -------------------------------------------------------------------------------- /src/lib/format/edit/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/edit/index.ts -------------------------------------------------------------------------------- /src/lib/format/edit/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/edit/types.ts -------------------------------------------------------------------------------- /src/lib/format/main/format.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/main/format.ts -------------------------------------------------------------------------------- /src/lib/format/main/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/main/index.ts -------------------------------------------------------------------------------- /src/lib/format/main/keep.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/main/keep.ts -------------------------------------------------------------------------------- /src/lib/format/main/vue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/main/vue.ts -------------------------------------------------------------------------------- /src/lib/format/parser/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/.DS_Store -------------------------------------------------------------------------------- /src/lib/format/parser/ExportNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/ExportNode.ts -------------------------------------------------------------------------------- /src/lib/format/parser/ImportNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/ImportNode.ts -------------------------------------------------------------------------------- /src/lib/format/parser/KeepUnused.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/KeepUnused.ts -------------------------------------------------------------------------------- /src/lib/format/parser/ParseParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/ParseParams.ts -------------------------------------------------------------------------------- /src/lib/format/parser/Statement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/Statement.ts -------------------------------------------------------------------------------- /src/lib/format/parser/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/helper.ts -------------------------------------------------------------------------------- /src/lib/format/parser/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/index.ts -------------------------------------------------------------------------------- /src/lib/format/parser/lines.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/lines.ts -------------------------------------------------------------------------------- /src/lib/format/parser/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/parser.ts -------------------------------------------------------------------------------- /src/lib/format/parser/path.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/path.test.ts -------------------------------------------------------------------------------- /src/lib/format/parser/path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/path.ts -------------------------------------------------------------------------------- /src/lib/format/parser/unused.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/parser/unused.ts -------------------------------------------------------------------------------- /src/lib/format/sort/SortGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/sort/SortGroup.ts -------------------------------------------------------------------------------- /src/lib/format/sort/compare.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/sort/compare.ts -------------------------------------------------------------------------------- /src/lib/format/sort/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/sort/index.ts -------------------------------------------------------------------------------- /src/lib/format/sort/merge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/sort/merge.ts -------------------------------------------------------------------------------- /src/lib/format/sort/unused.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/sort/unused.ts -------------------------------------------------------------------------------- /src/lib/format/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/format/types/index.ts -------------------------------------------------------------------------------- /src/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/lib/index.ts -------------------------------------------------------------------------------- /src/test/cli/__snapshots__/main.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/__snapshots__/main.test.ts.snap -------------------------------------------------------------------------------- /src/test/cli/examples/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/.eslintrc.json -------------------------------------------------------------------------------- /src/test/cli/examples/check/0-processed/__in/a/1.txt: -------------------------------------------------------------------------------- 1 | This is not supported. -------------------------------------------------------------------------------- /src/test/cli/examples/check/0-processed/cmd.txt: -------------------------------------------------------------------------------- 1 | --check a 2 | -c a -------------------------------------------------------------------------------- /src/test/cli/examples/check/1-processed/excluded/__in/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "excludeGlob": ["**/1.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/check/1-processed/rejected/cmd.txt: -------------------------------------------------------------------------------- 1 | --check a 2 | -c a -------------------------------------------------------------------------------- /src/test/cli/examples/check/1-processed/rejected/special.txt: -------------------------------------------------------------------------------- 1 | win32 -------------------------------------------------------------------------------- /src/test/cli/examples/check/2-processed/excluded/__in/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "excludeGlob": ["**/1.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/check/2-processed/rejected/cmd.txt: -------------------------------------------------------------------------------- 1 | --check a 2 | -c a -------------------------------------------------------------------------------- /src/test/cli/examples/check/2-processed/rejected/special.txt: -------------------------------------------------------------------------------- 1 | win32 -------------------------------------------------------------------------------- /src/test/cli/examples/check/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/__in/a/2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/__in/a/2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/__in/a/4.txt: -------------------------------------------------------------------------------- 1 | This is not supported. -------------------------------------------------------------------------------- /src/test/cli/examples/check/__in/a/b/3.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/__in/a/b/3.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/__in/a/b/5.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/__in/a/b/5.vue -------------------------------------------------------------------------------- /src/test/cli/examples/check/__in/a/b/e1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/__in/a/b/e1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/__in/a/e2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/__in/a/e2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/__in/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "excludeGlob": ["**/e?.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/check/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/config/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/__in/a/2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/config/__in/a/2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/__in/a/4.txt: -------------------------------------------------------------------------------- 1 | This is not supported. -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/__in/a/b/3.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/config/__in/a/b/3.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/__in/a/b/e1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/config/__in/a/b/e1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/__in/a/e2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/config/__in/a/e2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/cmd.txt: -------------------------------------------------------------------------------- 1 | --check --config c/import-sorter.json 1.ts a -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/fileconfig/__in/a/4.txt: -------------------------------------------------------------------------------- 1 | This is not supported. -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/fileconfig/cmd.txt: -------------------------------------------------------------------------------- 1 | --check --config c/import-sorter.json 1.ts a -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/fileconfig/special.txt: -------------------------------------------------------------------------------- 1 | win32 -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/force/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/config/force/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/force/__in/a/2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/config/force/__in/a/2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/force/__in/a/4.txt: -------------------------------------------------------------------------------- 1 | This is not supported. -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/force/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/config/force/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/force/special.txt: -------------------------------------------------------------------------------- 1 | win32 -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/nonexist/cmd.txt: -------------------------------------------------------------------------------- 1 | --check --config c/import-sorter.json a -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/nonexist/result.json: -------------------------------------------------------------------------------- 1 | { 2 | "stderr": "ENOENT: no such file or directory, open '.*import-sorter.json'" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/check/config/special.txt: -------------------------------------------------------------------------------- 1 | win32 -------------------------------------------------------------------------------- /src/test/cli/examples/check/empty/cmd.txt: -------------------------------------------------------------------------------- 1 | --check 2 | -c -------------------------------------------------------------------------------- /src/test/cli/examples/check/no-recursive/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/no-recursive/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/no-recursive/__in/a/2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/no-recursive/__in/a/2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/no-recursive/__in/a/4.txt: -------------------------------------------------------------------------------- 1 | This is not supported. -------------------------------------------------------------------------------- /src/test/cli/examples/check/no-recursive/__in/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "excludeGlob": ["**/e?.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/check/no-recursive/cmd.txt: -------------------------------------------------------------------------------- 1 | --check --no-recursive 1.ts a -------------------------------------------------------------------------------- /src/test/cli/examples/check/no-recursive/special.txt: -------------------------------------------------------------------------------- 1 | win32 -------------------------------------------------------------------------------- /src/test/cli/examples/check/nonexist/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/nonexist/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/nonexist/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/nonexist/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/check/special.txt: -------------------------------------------------------------------------------- 1 | win32 -------------------------------------------------------------------------------- /src/test/cli/examples/check/unknown/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/unknown/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/check/unknown/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/check/unknown/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/check/unknown/skip.txt: -------------------------------------------------------------------------------- 1 | win32 -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/__in/a/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/directory/__in/a/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/__in/a/4.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/directory/__in/a/4.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/__in/a/b/2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/directory/__in/a/b/2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/__out/a/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/directory/__out/a/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/__out/a/4.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/directory/__out/a/4.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/cmd.txt: -------------------------------------------------------------------------------- 1 | a -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/__in/c/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 5 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/cmd.txt: -------------------------------------------------------------------------------- 1 | --config c/import-sorter.json a -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/exclude/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/exclude/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/exclude/cmd.txt: -------------------------------------------------------------------------------- 1 | --config c/import-sorter.json a -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/exclude/dry-run/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/exclude/dry-run/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/exclude/force/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/exclude/force/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/fileconfig/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/fileconfig/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/fileconfig/__in/c/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 5 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/fileconfig/cmd.txt: -------------------------------------------------------------------------------- 1 | --config c/import-sorter.json a -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/nonexist/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/nonexist/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/nonexist/cmd.txt: -------------------------------------------------------------------------------- 1 | --config c/import-sorter.json a -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/config/nonexist/result.json: -------------------------------------------------------------------------------- 1 | { 2 | "stderr": "ENOENT: no such file or directory, open '.*import-sorter.json'" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/dry-run/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/dry-run/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/dry-run/cmd.txt: -------------------------------------------------------------------------------- 1 | --dry-run a 2 | -d a -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/no-recursive/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/no-recursive/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/no-recursive/cmd.txt: -------------------------------------------------------------------------------- 1 | --no-recursive a -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/no-recursive/dry-run/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/no-recursive/dry-run/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/nonexist/cmd.txt: -------------------------------------------------------------------------------- 1 | a -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/nonexist/result.json: -------------------------------------------------------------------------------- 1 | { 2 | "stderr": "ENOENT: no such file or directory, stat '.*a'" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/directory/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/directory/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/directory/__in/d/4.ts: -------------------------------------------------------------------------------- 1 | const A = 1; -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/directory/dry-run/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/directory/dry-run/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/directory/dry-run/__in/d/4.ts: -------------------------------------------------------------------------------- 1 | const A = 1; -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/dry-run/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/dry-run/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/file/__in/a/3.txt: -------------------------------------------------------------------------------- 1 | This is unsupported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/file/__in/a/b/4.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Not supported either" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/directory/output/file/__in/d.txt: -------------------------------------------------------------------------------- 1 | A file. -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/file/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/__out/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/file/__out/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/ark-ts/__in/1.ets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/file/ark-ts/__in/1.ets -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/ark-ts/__out/1.ets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/file/ark-ts/__out/1.ets -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/ark-ts/cmd.txt: -------------------------------------------------------------------------------- 1 | 1.ets -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/cmd.txt: -------------------------------------------------------------------------------- 1 | 1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/config/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/file/config/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/config/__in/a/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 5 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/config/__out/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/file/config/__out/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/config/cmd.txt: -------------------------------------------------------------------------------- 1 | --config a/import-sorter.json 1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/config/exclude/cmd.txt: -------------------------------------------------------------------------------- 1 | --config a/import-sorter.json 1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/config/fileconfig/__in/a/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 5 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/config/fileconfig/cmd.txt: -------------------------------------------------------------------------------- 1 | --config a/import-sorter.json 1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/config/nonexist/cmd.txt: -------------------------------------------------------------------------------- 1 | --config a/import-sorter.json 1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/config/nonexist/result.json: -------------------------------------------------------------------------------- 1 | { 2 | "stderr": "ENOENT: no such file or directory, open '.*import-sorter.json'" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/dry-run/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/file/dry-run/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/dry-run/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/file/dry-run/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/nonexist/cmd.txt: -------------------------------------------------------------------------------- 1 | 1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/nonexist/result.json: -------------------------------------------------------------------------------- 1 | { 2 | "stderr": "ENOENT: no such file or directory, stat '.*1.ts'" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/not-supported/__in/1.txt: -------------------------------------------------------------------------------- 1 | This is not supported. -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/not-supported/cmd.txt: -------------------------------------------------------------------------------- 1 | 1.txt -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/output/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/file/output/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/output/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/file/output/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/output/directory/__in/a/1.txt: -------------------------------------------------------------------------------- 1 | Ignored. -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/output/file/__in/a/2.ts: -------------------------------------------------------------------------------- 1 | const A = 3; -------------------------------------------------------------------------------- /src/test/cli/examples/format/file/output/file/dry-run/__in/a/2.ts: -------------------------------------------------------------------------------- 1 | const A = 3; -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/__in/a/2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/__in/a/2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/__in/a/3.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/__in/a/3.vue -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/__out/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/__out/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/__out/a/2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/__out/a/2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/__out/a/3.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/__out/a/3.vue -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/config/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/config/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/config/__in/c/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 5 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/config/__out/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/config/__out/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/config/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/config/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/config/fileconfig/__in/c/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 5 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/config/nonexist/result.json: -------------------------------------------------------------------------------- 1 | { 2 | "stderr": "ENOENT: no such file or directory, open '.*import-sorter.json'" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/dry-run/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/dry-run/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/dry-run/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/dry-run/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/nonexist/cmd.txt: -------------------------------------------------------------------------------- 1 | 1.ts a/2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/nonexist/result.json: -------------------------------------------------------------------------------- 1 | { 2 | "stderr": "ENOENT: no such file or directory, stat '.*2.ts'" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/nonfile/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/nonfile/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/nonfile/__in/a/2.ts/1.txt: -------------------------------------------------------------------------------- 1 | Some text. -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/nonfile/cmd.txt: -------------------------------------------------------------------------------- 1 | 1.ts a/2.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/files/output/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/files/output/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/cmd.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/config/__in/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 5 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/config/cmd.txt: -------------------------------------------------------------------------------- 1 | --config import-sorter.json -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/config/nonexist/cmd.txt: -------------------------------------------------------------------------------- 1 | --config import-sorter.json -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/config/nonexist/result.json: -------------------------------------------------------------------------------- 1 | { 2 | "stderr": "ENOENT: no such file or directory, open '.*import-sorter.json'" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/config/stdin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/stdin/config/stdin.dat -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/dry-run/cmd.txt: -------------------------------------------------------------------------------- 1 | --dry-run 2 | -d -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/dry-run/stdin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/stdin/dry-run/stdin.dat -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/extension/js/cmd.txt: -------------------------------------------------------------------------------- 1 | --extension js 2 | -e js -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/extension/ts/cmd.txt: -------------------------------------------------------------------------------- 1 | --extension ts 2 | -e ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/output/__out/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/stdin/output/__out/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/output/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/stdin/output/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/output/directory/__in/1/1.txt: -------------------------------------------------------------------------------- 1 | Some text. -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/output/directory/cmd.txt: -------------------------------------------------------------------------------- 1 | --output 1 2 | -o 1 -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/output/file/__in/1.ts: -------------------------------------------------------------------------------- 1 | const a = 1; 2 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/output/file/dry-run/__in/1.ts: -------------------------------------------------------------------------------- 1 | const a = 1; 2 | -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/output/stdin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/stdin/output/stdin.dat -------------------------------------------------------------------------------- /src/test/cli/examples/format/stdin/stdin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/format/stdin/stdin.dat -------------------------------------------------------------------------------- /src/test/cli/examples/help/cmd.txt: -------------------------------------------------------------------------------- 1 | --help 2 | -h -------------------------------------------------------------------------------- /src/test/cli/examples/log/__in/1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/log/__in/1.ts -------------------------------------------------------------------------------- /src/test/cli/examples/log/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/log/cmd.txt -------------------------------------------------------------------------------- /src/test/cli/examples/log/result.json: -------------------------------------------------------------------------------- 1 | { 2 | "stdout": "\\[(DEBUG|INFO)\\]" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/cli/examples/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/package.json -------------------------------------------------------------------------------- /src/test/cli/examples/version/cmd.txt: -------------------------------------------------------------------------------- 1 | --version 2 | -v -------------------------------------------------------------------------------- /src/test/cli/examples/version/result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/examples/version/result.json -------------------------------------------------------------------------------- /src/test/cli/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/cli/main.test.ts -------------------------------------------------------------------------------- /src/test/lib/examples/.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/.eslintignore -------------------------------------------------------------------------------- /src/test/lib/examples/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/.eslintrc.json -------------------------------------------------------------------------------- /src/test/lib/examples/ark-ts/origin.ets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/ark-ts/origin.ets -------------------------------------------------------------------------------- /src/test/lib/examples/ark-ts/result.ets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/ark-ts/result.ets -------------------------------------------------------------------------------- /src/test/lib/examples/attributes/assert.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/attributes/assert.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/attributes/assert.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/attributes/assert.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/attributes/with.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/attributes/with.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/attributes/with.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/attributes/with.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/comments/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/comments/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/comments/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/comments/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/comments/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/comments/trailing.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/comments/trailing.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/comments/trailing.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/comments/trailing.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/bracket-space/false/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/comma/always/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "always" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/comma/always/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/comma/always/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/comma/always/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/comma/always/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/comma/multi-line/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "multiLine" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/comma/none/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "none" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/comma/none/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/comma/none/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/comma/none/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/comma/none/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/eol/crlf.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/eol/crlf.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/eol/crlf.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/eol/crlf.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/eol/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 1 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/eol/lf.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/eol/lf.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/eol/lf.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/eol/lf.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import {A} from 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/0-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import A from 'a' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/0-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import {A} from 'a' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/1-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import A from 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import {A} from 'a' 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/1-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import A from 'a' 3 | 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/2-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import {A} from 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/2-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import A from 'a' 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/2-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import {A} from 'a' 4 | 5 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/export/0.origin.ts: -------------------------------------------------------------------------------- 1 | export {A} -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/export/1.origin.ts: -------------------------------------------------------------------------------- 1 | export {A} 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/export/2.origin.ts: -------------------------------------------------------------------------------- 1 | export {A} 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/export/result.ts: -------------------------------------------------------------------------------- 1 | export { A }; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/import/0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/import/1.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/import/2.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/import/result.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep'; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/false/result.ts: -------------------------------------------------------------------------------- 1 | 'use'; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import A from 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/0-0.result.ts: -------------------------------------------------------------------------------- 1 | 'use'; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/0-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import {A} from 'a' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/0-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import A from 'a' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/1-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import {A} from 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/1-0.result.ts: -------------------------------------------------------------------------------- 1 | 'use'; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import A from 'a' 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/1-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import {A} from 'a' 3 | 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/2-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import A from 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/2-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import {A} from 'a' 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/2-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import A from 'a' 4 | 5 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/export/0.origin.ts: -------------------------------------------------------------------------------- 1 | export {A} -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/export/0.result.ts: -------------------------------------------------------------------------------- 1 | export { A }; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/export/1.origin.ts: -------------------------------------------------------------------------------- 1 | export {A} 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/export/2.origin.ts: -------------------------------------------------------------------------------- 1 | export {A} 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/export/result.ts: -------------------------------------------------------------------------------- 1 | export { A }; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": "preserve" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/import/0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/import/0.result.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep'; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/import/1.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/import/2.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/import/result.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/preserve/result.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import A from 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/0-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import {A} from 'a' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/0-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import A from 'a' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/1-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import {A} from 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import A from 'a' 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/1-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import {A} from 'a' 3 | 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/2-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import A from 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/2-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import {A} from 'a' 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/2-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import A from 'a' 4 | 5 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/export/0.origin.ts: -------------------------------------------------------------------------------- 1 | export {A} -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/export/1.origin.ts: -------------------------------------------------------------------------------- 1 | export {A} 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/export/2.origin.ts: -------------------------------------------------------------------------------- 1 | export {A} 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/export/result.ts: -------------------------------------------------------------------------------- 1 | export { A }; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/import/0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/import/1.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/import/2.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/import/result.ts: -------------------------------------------------------------------------------- 1 | import A from 'keep'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/final-nl/true/result.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/1.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/2.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/3.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | 4 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/eof/0.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/eof/1.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/eof/2.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/eof/3.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/eof/result.ts: -------------------------------------------------------------------------------- 1 | import 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "emptyLinesAfterAllImports": 0 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/0/result.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/1.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/2.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/3.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | 4 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/eof/0.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/eof/1.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/eof/2.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/eof/3.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/eof/result.ts: -------------------------------------------------------------------------------- 1 | import 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "emptyLinesAfterAllImports": 1 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/1/result.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/1.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/2.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/3.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | 4 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/4.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | 4 | 5 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/eof/0.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/eof/1.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/eof/2.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/eof/3.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/eof/result.ts: -------------------------------------------------------------------------------- 1 | import 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "emptyLinesAfterAllImports": 2 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/2/result.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | 4 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-end/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-sep/0/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "emptyLinesBetweenGroups": 0 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-sep/0/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/group-sep/0/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-sep/1/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "emptyLinesBetweenGroups": 1 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-sep/1/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/group-sep/1/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-sep/1/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/group-sep/1/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-sep/2/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "emptyLinesBetweenGroups": 2 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-sep/2/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/group-sep/2/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/group-sep/2/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/group-sep/2/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/max-line-length/0/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 0 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/max-line-length/assert/def-ns/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 44 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/max-line-length/assert/def/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 40 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/max-line-length/assert/ns/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 41 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/quote/double/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "quoteMark": "double" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/quote/double/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/quote/double/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/quote/double/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/quote/double/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/quote/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/quote/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/quote/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/quote/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/semicolon/false/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "hasSemicolon": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/semicolon/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "hasSemicolon": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/compose/semicolon/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/semicolon/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/tab/import-sorter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/tab/import-sorter.json -------------------------------------------------------------------------------- /src/test/lib/examples/compose/tab/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/tab/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/tab/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/tab/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/tab/space/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/tab/space/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/compose/tab/space/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/compose/tab/space/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/0-0.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/delete/both/0-0.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/0-0.result.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/0-1.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/delete/both/0-1.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/0-1.result.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/0-2.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/delete/both/0-2.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/0-3.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/delete/both/0-3.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/1-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import A from 'a'; 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/1-0.result.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import A from 'a'; 3 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/1-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import A from 'a'; 3 | 4 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/1-3.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/delete/both/1-3.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/2-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import A from 'a'; 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/2-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import A from 'a'; 4 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/2-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import A from 'a'; 4 | 5 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/2-3.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/delete/both/2-3.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/3-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | 4 | import A from 'a'; 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/3-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | 4 | import A from 'a'; 5 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/3-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | 4 | import A from 'a'; 5 | 6 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/3-3.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/delete/both/3-3.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/result.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/use-strict/0-0.result.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/use-strict/0-1.result.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/use-strict/1-0.result.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/both/use-strict/result.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/both/0-0.result.ts: -------------------------------------------------------------------------------- 1 | export { A } from 'a'; 2 | 3 | 'use'; 4 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/both/0-1.result.ts: -------------------------------------------------------------------------------- 1 | export { A } from 'a'; 2 | 3 | 'use'; 4 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/both/1-0.result.ts: -------------------------------------------------------------------------------- 1 | export { A } from 'a'; 2 | 3 | 'use'; 4 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/both/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/delete/export/both/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/export-unhandled.result.ts: -------------------------------------------------------------------------------- 1 | export * from 'a' 2 | 3 | const a = A; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/export.result.ts: -------------------------------------------------------------------------------- 1 | export { A } from 'a'; 2 | 3 | const a = A; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/import-decl.result.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | const a = A; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/import-eq.result.ts: -------------------------------------------------------------------------------- 1 | import A = require('a'); 2 | 3 | const a = A; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/keep-1/1.origin.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/keep-1/result.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/keep-2/1.origin.ts: -------------------------------------------------------------------------------- 1 | export { } from 'a' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/keep-2/result.ts: -------------------------------------------------------------------------------- 1 | export {} from 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/keep-3/a-0-comment.result.ts: -------------------------------------------------------------------------------- 1 | export {}; // comment3 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/keep-3/a-0.result.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/keep-3/a-b-comment.result.ts: -------------------------------------------------------------------------------- 1 | export {} from 'a'; // comment1 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/empty/keep-3/a-b.result.ts: -------------------------------------------------------------------------------- 1 | export {} from 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/head/final-nl/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/head/no-final-nl/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/head/no-final-nl/result.ts: -------------------------------------------------------------------------------- 1 | export { A } from 'aaaa'; 2 | 3 | 'use '; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/export/tail/result.ts: -------------------------------------------------------------------------------- 1 | 'str' 2 | 3 | export { A } from 'aaaa'; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/0-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import A from 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/0-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; import A from 'a'; 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/1-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | import A from 'a'; 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/2-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/2-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | 3 | import A from 'a'; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/result.ts: -------------------------------------------------------------------------------- 1 | 'use'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/use-strict/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/use-strict/0-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; import A from 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/use-strict/0-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; import A from 'a'; 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/use-strict/1-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/use-strict/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | import A from 'a'; 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/use-strict/2-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/use-strict/2-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import A from 'a'; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/final-nl/use-strict/result.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use '; import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/0-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use '; import A from 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/0-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use '; import A from 'a'; 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/1-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use '; 2 | import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use '; 2 | import A from 'a'; 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/2-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use '; 2 | 3 | import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/2-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use '; 2 | 3 | import A from 'a'; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/result.ts: -------------------------------------------------------------------------------- 1 | 'use '; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/use-strict/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/use-strict/0-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; import A from 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/use-strict/0-2.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; import A from 'a'; 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/use-strict/1-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/use-strict/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | import A from 'a'; 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/use-strict/2-0.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import A from 'a'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/use-strict/2-1.origin.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import A from 'a'; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/head/no-final-nl/use-strict/result.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; -------------------------------------------------------------------------------- /src/test/lib/examples/delete/none/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/none/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 2 | import A from 'a' 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/none/2-2.origin.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | import A from 'a' 4 | 5 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/none/result.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/test/lib/examples/delete/tail/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/tail/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 2 | import A from 'a'; 3 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/delete/tail/2-2.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/delete/tail/2-2.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/delete/tail/result.ts: -------------------------------------------------------------------------------- 1 | 'str' -------------------------------------------------------------------------------- /src/test/lib/examples/disable/file_1.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/file_1.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/file_2.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/file_2.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/first.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/first.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/force/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "force": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/disable/force/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/force/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/force/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/force/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/disable/imports.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/imports.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/imports.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/imports.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/last.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/last.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/last.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/last.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/middle.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/middle.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/middle.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/middle.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/scripts/edge.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/scripts/edge.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/scripts/edge.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/scripts/edge.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/scripts/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/disable/scripts/last.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/scripts/last.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/disable/scripts/last.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/disable/scripts/last.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/duplicate/1.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/duplicate/1.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/duplicate/1.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/duplicate/1.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/duplicate/2.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/duplicate/2.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/duplicate/2.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/duplicate/2.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/duplicate/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/duplicate/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/duplicate/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/duplicate/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/duplicate/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/duplicate/type.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/duplicate/type.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/duplicate/type.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/duplicate/type.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/.eslintrc.json -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/eol-last/always/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/eol-last/always/import.origin.ts: -------------------------------------------------------------------------------- 1 | import 'abc' 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/eol-last/always/import.result.ts: -------------------------------------------------------------------------------- 1 | import 'abc'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/eol-last/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/eol-last/never/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/eol-last/never/import.origin.ts: -------------------------------------------------------------------------------- 1 | import 'abc' 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/eol-last/never/import.result.ts: -------------------------------------------------------------------------------- 1 | import 'abc'; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/ignoreESLintRules/array/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/ignoreESLintRules/disable-all/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/ignoreESLintRules/disable-all/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignoreESLintRules": ".*" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/ignoreESLintRules/empty-string/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/ignoreESLintRules/empty-string/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignoreESLintRules": "" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/ignoreESLintRules/string/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/ignoreESLintRules/string/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignoreESLintRules": "indent" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import-sorter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/import-sorter.json -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/1.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/2.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/3.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | 4 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/eof/.eslintrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/eof/0.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/eof/1.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/eof/2.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/eof/3.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/eof/result.ts: -------------------------------------------------------------------------------- 1 | import 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/export/.eslintrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/1/result.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/1.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/2.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/3.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | 4 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/4.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | 4 | 5 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/eof/.eslintrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/eof/0.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/eof/1.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/eof/2.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/eof/3.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/eof/4.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/eof/result.ts: -------------------------------------------------------------------------------- 1 | import 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/export/.eslintrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/2/result.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | 4 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/0.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/1.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/2.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/3.origin.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | 4 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/eof/.eslintrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/eof/0.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/eof/1.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/eof/2.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/eof/3.origin.ts: -------------------------------------------------------------------------------- 1 | import 'a' 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/eof/result.ts: -------------------------------------------------------------------------------- 1 | import 'a'; 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/export/.eslintrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/def/result.ts: -------------------------------------------------------------------------------- 1 | import A from 'a'; 2 | 3 | const a = A; -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/import/newline-after-import/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/indent/js/tab/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/indent/js/tab/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/indent/js/tab/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/indent/js/tab/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/indent/ts/tab/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/indent/ts/tab/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/indent/ts/tab/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/indent/ts/tab/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/max-len/code/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "maxLineLength": 10 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/max-len/code/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/max-len/code/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/max-len/code/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/max-len/code/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/max-len/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/object-curly-spacing/both/always/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/object-curly-spacing/both/never/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/object-curly-spacing/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/object-curly-spacing/js/always/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/object-curly-spacing/js/never/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/object-curly-spacing/ts/always/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/object-curly-spacing/ts/never/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/semi/both/always/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "hasSemicolon": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/semi/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/semi/js/always/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "hasSemicolon": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/semi/js/never/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/semi/js/never/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/semi/js/never/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/semi/js/never/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/semi/ts/always/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "hasSemicolon": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/semi/ts/never/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/semi/ts/never/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/semi/ts/never/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/eslint/semi/ts/never/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/sort-imports/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["import"] 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/eslint/sort-imports/ignoreDeclarationSort/true/byName/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "sortImportsBy": "names" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/group/builtin/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/builtin/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/builtin/regex/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/builtin/regex/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/builtin/regex/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/builtin/regex/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/builtin/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/builtin/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/flag/import-sorter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/flag/import-sorter.json -------------------------------------------------------------------------------- /src/test/lib/examples/group/flag/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/flag/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/flag/p_named/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/flag/p_named/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/flag/p_named/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/flag/p_named/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/flag/p_scripts/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/flag/p_scripts/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/flag/p_scripts/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/flag/p_scripts/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/flag/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/flag/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/import-type/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/import-type/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/import-type/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/import-type/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_0/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "groupRules": [] 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_0/null/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "groupRules": null 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_0/null/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_0/null/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_0/null/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_0/null/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_0/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_0/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_0/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_0/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_1/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_1/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_1/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_1/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_2/empty/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "groupRules": [[], ["^b", "^a"]] 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_2/empty/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_2/empty/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_2/empty/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_2/empty/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_2/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_2/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_2/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_2/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_N/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_N/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/group/level_N/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/group/level_N/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/import-sorter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/import-sorter.json -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | const A=1;export{A};'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/0-0.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export { A }; 3 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/0-1.origin.ts: -------------------------------------------------------------------------------- 1 | const A=1;export{A}; 2 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/0-1.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export { A }; 3 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/0-2.origin.ts: -------------------------------------------------------------------------------- 1 | const A=1;export{A}; 2 | 3 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/0-2.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export { A }; 3 | 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/0-3.origin.ts: -------------------------------------------------------------------------------- 1 | const A=1;export{A}; 2 | 3 | 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/0-3.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export { A }; 3 | 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/0-4.origin.ts: -------------------------------------------------------------------------------- 1 | const A=1;export{A}; 2 | 3 | 4 | 5 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/0-4.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export { A }; 3 | 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/1-0.origin.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export{A};'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/1-0.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export { A }; 3 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/1-1.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export { A }; 3 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/1-2.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export { A }; 3 | 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/1-3.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export { A }; 3 | 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/1-4.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | export { A }; 3 | 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/2-0.origin.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | 3 | export{A};'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/2-0.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | 3 | export { A }; 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/2-1.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | 3 | export { A }; 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/2-2.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | 3 | export { A }; 4 | 5 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/2-3.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | 3 | export { A }; 4 | 5 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/3-0.origin.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | 3 | 4 | export{A};'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/3-0.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | 3 | export { A }; 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/3-1.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | 3 | export { A }; 4 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/3-2.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | 3 | export { A }; 4 | 5 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/3-3.result.ts: -------------------------------------------------------------------------------- 1 | const A=1; 2 | 3 | export { A }; 4 | 5 | 'use' -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-head/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | export {A}; const A = 1 -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-head/0-0.result.ts: -------------------------------------------------------------------------------- 1 | export { A }; 2 | const A = 1 -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-head/1-1.origin.ts: -------------------------------------------------------------------------------- 1 | 2 | export {A}; 3 | const A=1 -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-head/1-1.result.ts: -------------------------------------------------------------------------------- 1 | export { A }; 2 | const A=1 -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-head/2-2.result.ts: -------------------------------------------------------------------------------- 1 | export { A }; 2 | 3 | const A=1 -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-head/3-3.result.ts: -------------------------------------------------------------------------------- 1 | export { A }; 2 | 3 | const A=1 -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | const A = 1;export {A}; -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/0-0.result.ts: -------------------------------------------------------------------------------- 1 | const A = 1; 2 | export { A }; -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/1-1.result.ts: -------------------------------------------------------------------------------- 1 | const A=1 2 | export { A }; -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/2-2.result.ts: -------------------------------------------------------------------------------- 1 | const A=1 2 | 3 | export { A }; -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/3-3.result.ts: -------------------------------------------------------------------------------- 1 | const A=1 2 | 3 | export { A }; -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/final-nl/0-0.origin.ts: -------------------------------------------------------------------------------- 1 | const A = 1;export {A}; -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/final-nl/0-0.result.ts: -------------------------------------------------------------------------------- 1 | const A = 1; 2 | export { A }; 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/final-nl/1-1.result.ts: -------------------------------------------------------------------------------- 1 | const A=1 2 | export { A }; 3 | -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/final-nl/2-2.result.ts: -------------------------------------------------------------------------------- 1 | const A=1 2 | 3 | export { A }; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/final-nl/3-3.result.ts: -------------------------------------------------------------------------------- 1 | const A=1 2 | 3 | export { A }; 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/export/no-tail/final-nl/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/insert-lines/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": false 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/insert-point/all.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/insert-point/all.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/insert-point/all.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/insert-point/all.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/insert-point/none.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/insert-point/none.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/insert-point/none.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/insert-point/none.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/assert.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/assert.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/assert.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/assert.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/bindings/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/bindings/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/bindings/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/bindings/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/comments/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/comments/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/comments/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/comments/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/export/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/merge/export/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/export/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/export/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/export/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/export/type.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/export/type.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/export/type.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/export/type.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/import-sorter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/import-sorter.json -------------------------------------------------------------------------------- /src/test/lib/examples/merge/multi-1.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/multi-1.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/multi-1.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/multi-1.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/multi-2.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/multi-2.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/multi-2.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/multi-2.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/sort-none/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/sort-none/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/merge/sort-none/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/merge/sort-none/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/nothing/comments.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/nothing/comments.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/nothing/empty.origin.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/test/lib/examples/nothing/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/nothing/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/nothing/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/nothing/trim.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/nothing/trim.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/others/defaultName.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/others/defaultName.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/others/defaultName.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/others/defaultName.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/others/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/others/type.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/others/type.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/others/useless-alias.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/others/useless-alias.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/others/useless-alias.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/others/useless-alias.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/package.json -------------------------------------------------------------------------------- /src/test/lib/examples/path-norm/export.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/path-norm/export.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/path-norm/export.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/path-norm/export.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/path-norm/import-sorter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/path-norm/import-sorter.json -------------------------------------------------------------------------------- /src/test/lib/examples/path-norm/import.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/path-norm/import.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/path-norm/import.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/path-norm/import.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/path-norm/rm-index/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/path-norm/rm-index/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/path-norm/rm-index/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/path-norm/rm-index/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/path-norm/rm-slash/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/path-norm/rm-slash/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/path-norm/rm-slash/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/path-norm/rm-slash/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/satisfies/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/satisfies/a.ts -------------------------------------------------------------------------------- /src/test/lib/examples/satisfies/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/satisfies/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/satisfies/ts4.9.3bug.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/satisfies/ts4.9.3bug.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/1.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/1.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/1.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/1.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/2.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/2.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/2.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/2.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/3.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/3.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/3.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/3.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/all/1.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/all/1.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/all/1.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/all/1.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/all/2.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/all/2.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/all/2.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/all/2.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/all/3.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/all/3.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/all/3.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/all/3.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/all/disable.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/all/disable.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/all/disable.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/all/disable.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/use/all/1.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/use/all/1.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/use/all/1.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/use/all/1.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/use/all/2.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/use/all/2.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/use/all/2.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/use/all/2.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/use/all/3.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/use/all/3.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/use/all/3.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/use/all/3.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/use/cache/1.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/use/cache/1.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/use/cache/1.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/use/cache/1.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/shebang/use/cache/2.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/shebang/use/cache/2.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/assert/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/assert/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/assert/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/assert/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-names/0-21/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-names/0-21/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-names/0-21/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-names/0-21/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-names/12-0/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-names/12-0/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-names/12-0/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-names/12-0/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-names/name-array/origin.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-names/none/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-names/none/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-names/type.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-names/type.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-names/type.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-names/type.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/0-12/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/0-12/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/0-12/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/0-12/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/0-21/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/0-21/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/0-21/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/0-21/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/12-0/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/12-0/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/12-0/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/12-0/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/21-0/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/21-0/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/21-0/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/21-0/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/none/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/none/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/type.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/type.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/by-paths/type.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/by-paths/type.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/0-1-2/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/0-1-2/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/0-1-2/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/0-1-2/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/0-12/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/0-12/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/0-12/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/0-12/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/0-2-1/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/0-2-1/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/0-2-1/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/0-2-1/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/0-21/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/0-21/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/0-21/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/0-21/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/1-0-2/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/1-0-2/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/1-0-2/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/1-0-2/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/1-2-0/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/1-2-0/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/1-2-0/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/1-2-0/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/12-0/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/12-0/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/12-0/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/12-0/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/2-0-1/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/2-0-1/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/2-0-1/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/2-0-1/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/2-1-0/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/2-1-0/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/2-1-0/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/2-1-0/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/21-0/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/21-0/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/21-0/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/21-0/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/export/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/export/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/export/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/export/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/group/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/group/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/group/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/group/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/names/none/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/names/none/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/sort/none/import-sorter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/none/import-sorter.json -------------------------------------------------------------------------------- /src/test/lib/examples/sort/none/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/sort/none/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/tsconfig/h/js.origin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/tsconfig/h/js.origin.js -------------------------------------------------------------------------------- /src/test/lib/examples/tsconfig/h/js.result.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/tsconfig/h/js.result.js -------------------------------------------------------------------------------- /src/test/lib/examples/tsconfig/h/jsx.origin.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/tsconfig/h/jsx.origin.jsx -------------------------------------------------------------------------------- /src/test/lib/examples/tsconfig/h/jsx.result.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/tsconfig/h/jsx.result.jsx -------------------------------------------------------------------------------- /src/test/lib/examples/tsconfig/h/ts.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/tsconfig/h/ts.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/tsconfig/h/ts.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/tsconfig/h/ts.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/tsconfig/h/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/tsconfig/h/tsconfig.json -------------------------------------------------------------------------------- /src/test/lib/examples/tsconfig/h/tsx.origin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/tsconfig/h/tsx.origin.tsx -------------------------------------------------------------------------------- /src/test/lib/examples/tsconfig/h/tsx.result.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/tsconfig/h/tsx.result.tsx -------------------------------------------------------------------------------- /src/test/lib/examples/unused/deep.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/unused/deep.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/unused/deep.result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/unused/deep.result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/unused/dup.origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/unused/dup.origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/unused/dup.result.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/test/lib/examples/unused/jsx.origin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/unused/jsx.origin.tsx -------------------------------------------------------------------------------- /src/test/lib/examples/unused/keep/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/unused/keep/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/unused/keep/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/unused/keep/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/unused/origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/unused/origin.ts -------------------------------------------------------------------------------- /src/test/lib/examples/unused/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/unused/result.ts -------------------------------------------------------------------------------- /src/test/lib/examples/vue/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatExports": true 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-default/new-lines/unchanged/final-nl/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": true 3 | } -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-default/new-lines/unchanged/no-final-nl/import-sorter.json: -------------------------------------------------------------------------------- 1 | { 2 | "insertFinalNewline": false 3 | } -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-default/origin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-default/origin.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-default/result.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-default/result.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-default/tsconfig/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@vue/tsconfig" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-js/origin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-js/origin.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-js/result.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-js/result.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-js/setup.origin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-js/setup.origin.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-js/setup.result.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-js/setup.result.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-js/tsconfig/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@vue/tsconfig" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-jsx/origin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-jsx/origin.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-jsx/result.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-jsx/result.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-jsx/tsconfig/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@vue/tsconfig" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-other/origin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-other/origin.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-ts/origin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-ts/origin.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-ts/result.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-ts/result.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-ts/setup.origin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-ts/setup.origin.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-ts/setup.result.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-ts/setup.result.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-ts/tsconfig/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@vue/tsconfig" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-tsx/origin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-tsx/origin.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-tsx/result.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/examples/vue/lang-tsx/result.vue -------------------------------------------------------------------------------- /src/test/lib/examples/vue/lang-tsx/tsconfig/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@vue/tsconfig" 3 | } 4 | -------------------------------------------------------------------------------- /src/test/lib/formatSource.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/src/test/lib/formatSource.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daidodo/format-imports/HEAD/webpack.config.ts --------------------------------------------------------------------------------