├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature.md └── workflows │ ├── ci.yml │ └── codeql-analysis.yml ├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc ├── .yarnrc.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── docs ├── DEBUG.md ├── MIGRATION.md └── TROUBLESHOOTING.md ├── examples ├── .prettierrc ├── example.gjs ├── example.gts ├── example.js ├── example.jsx ├── example.svelte ├── example.ts ├── example.tsx └── example.vue ├── package.json ├── src ├── constants.ts ├── index.ts ├── natural-sort │ ├── index.ts │ └── natural-sort.d.ts ├── preprocessors │ ├── default-processor.ts │ ├── ember-preprocessor.ts │ ├── preprocessor.ts │ ├── svelte-preprocessor.ts │ └── vue-preprocessor.ts ├── types.ts └── utils │ ├── __tests__ │ ├── adjust-comments-on-sorted-nodes.spec.ts │ ├── assemble-updated-code.spec.ts │ ├── get-all-comments-from-nodes.spec.ts │ ├── get-code-from-ast.spec.ts │ ├── get-experimental-parser-plugins.spec.ts │ ├── get-import-nodes-matched-group.spec.ts │ ├── get-sorted-import-specifiers.spec.ts │ ├── get-sorted-nodes-by-import-order.spec.ts │ ├── get-sorted-nodes.spec.ts │ ├── is-builtin-module.spec.ts │ ├── is-sort-imports-ignored.spec.ts │ └── should-skip-file.spec.ts │ ├── adjust-comments-on-sorted-nodes.ts │ ├── assemble-updated-code.ts │ ├── create-ember-parsers.ts │ ├── create-svelte-parsers.ts │ ├── extract-ast-nodes.ts │ ├── get-all-comments-from-nodes.ts │ ├── get-code-from-ast.ts │ ├── get-experimental-parser-plugins.ts │ ├── get-import-nodes-matched-group.ts │ ├── get-import-nodes.ts │ ├── get-sorted-import-specifiers.ts │ ├── get-sorted-nodes-by-import-order.ts │ ├── get-sorted-nodes-group.ts │ ├── get-sorted-nodes-modules-names.ts │ ├── get-sorted-nodes-names.ts │ ├── get-sorted-nodes.ts │ ├── is-builtin-module.ts │ ├── is-sort-imports-ignored.ts │ ├── replace-at.ts │ └── should-skip-file.ts ├── test-setup ├── raw-serializer.mjs └── run_spec.mjs ├── tests ├── Angular │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── imports-with-decorators.js │ └── ppsi.spec.mjs ├── Babel │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── imports-with-comments.js │ └── ppsi.spec.mjs ├── BuiltinModules │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── builtin-modules.ts │ └── ppsi.spec.mjs ├── BuiltinModulesDisabled │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── builtin-modules.ts │ └── ppsi.spec.mjs ├── BuiltinModulesWithCustomOrder │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── builtin-modules.ts │ └── ppsi.spec.mjs ├── Ember │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── ppsi.spec.mjs │ ├── sfc.gjs │ └── sfc.gts ├── Flow │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── imports-with-comments.js │ └── ppsi.spec.mjs ├── ImportPreventSortingSideEffects │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── imports-with-side-effect-imports.js │ └── ppsi.spec.mjs ├── ImportsNotSeparated │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── import-export-in-between.ts │ ├── import-export-only.ts │ ├── imports-with-comments-and-third-party.ts │ ├── imports-with-comments-on-top.ts │ ├── imports-with-comments.ts │ ├── imports-with-directives.ts │ ├── imports-with-file-level-comments.ts │ ├── imports-with-interpreter-directive.ts │ ├── imports-without-third-party.ts │ ├── no-import-export.ts │ ├── one-import.ts │ ├── ppsi.spec.mjs │ └── sort-imports-ignored.ts ├── ImportsNotSeparatedRest │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── import-export-in-between.ts │ ├── import-export-only.ts │ ├── imports-with-comments-and-third-party.ts │ ├── imports-with-comments-on-top.ts │ ├── imports-with-comments.ts │ ├── imports-with-file-level-comments.ts │ ├── imports-with-interpreter-directive.ts │ ├── imports-without-third-party.ts │ ├── no-import-export.ts │ ├── one-import.ts │ ├── ppsi.spec.mjs │ └── sort-imports-ignored.ts ├── ImportsSeparated │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── import-export-in-between.ts │ ├── import-export-only.ts │ ├── import-with-type-imports-together.ts │ ├── imports-with-comments-and-third-party.ts │ ├── imports-with-comments-on-top.ts │ ├── imports-with-comments.ts │ ├── imports-with-directives.ts │ ├── imports-with-file-level-comments.ts │ ├── imports-with-interpreter-directive.ts │ ├── imports-without-third-party.ts │ ├── no-import-export.ts │ ├── one-import.ts │ ├── ppsi.spec.mjs │ └── sort-imports-ignored.ts ├── ImportsSeparatedByUser │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── import-export-in-between.ts │ ├── import-export-only.ts │ ├── import-with-type-imports-together.ts │ ├── imports-with-comments-and-third-party.ts │ ├── imports-with-comments-on-top.ts │ ├── imports-with-comments.ts │ ├── imports-with-directives.ts │ ├── imports-with-file-level-comments.ts │ ├── imports-with-interpreter-directive.ts │ ├── imports-without-third-party.ts │ ├── no-import-export.ts │ ├── one-import.ts │ ├── ppsi.spec.mjs │ └── sort-imports-ignored.ts ├── ImportsSeparatedRest │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── import-export-in-between.ts │ ├── import-export-only.ts │ ├── imports-with-comments-and-third-party.ts │ ├── imports-with-comments-on-top.ts │ ├── imports-with-comments.ts │ ├── imports-with-file-level-comments.ts │ ├── imports-with-interpreter-directive.ts │ ├── imports-without-third-party.ts │ ├── no-import-export.ts │ ├── one-import.ts │ ├── ppsi.spec.mjs │ └── sort-imports-ignored.ts ├── ImportsWithAttributesKeyword │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── imports-with-attributes-keyword.ts │ └── ppsi.spec.mjs ├── Svelte │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── module.svelte │ ├── ppsi.spec.mjs │ ├── questionale.svelte │ ├── simple.svelte │ └── ts.svelte ├── TSDeclare │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── import-inside-ts-declare.ts │ └── ppsi.spec.mjs ├── Typescript │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── imports-with-comments.ts │ ├── imports-with-satisfies.ts │ ├── imports-with-unsorted-modules.ts │ └── ppsi.spec.mjs ├── Vue │ ├── __snapshots__ │ │ └── ppsi.spec.mjs.snap │ ├── ppsi.spec.mjs │ ├── setup.vue │ ├── setupAndScript.vue │ ├── sfc.vue │ ├── sfcNoScript.vue │ ├── sfcWithSpecialReplacerGroups.vue │ ├── ts.vue │ └── tsx.vue └── utils │ └── replace-at.test.ts ├── tsconfig.json ├── types └── index.d.ts ├── vitest.config.ts └── yarn.lock /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/.github/ISSUE_TEMPLATE/feature.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/.prettierrc -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- 1 | nodeLinker: node-modules 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/README.md -------------------------------------------------------------------------------- /docs/DEBUG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/docs/DEBUG.md -------------------------------------------------------------------------------- /docs/MIGRATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/docs/MIGRATION.md -------------------------------------------------------------------------------- /docs/TROUBLESHOOTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/docs/TROUBLESHOOTING.md -------------------------------------------------------------------------------- /examples/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/examples/.prettierrc -------------------------------------------------------------------------------- /examples/example.gjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/examples/example.gjs -------------------------------------------------------------------------------- /examples/example.gts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/examples/example.gts -------------------------------------------------------------------------------- /examples/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/examples/example.js -------------------------------------------------------------------------------- /examples/example.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/examples/example.jsx -------------------------------------------------------------------------------- /examples/example.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/examples/example.svelte -------------------------------------------------------------------------------- /examples/example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/examples/example.ts -------------------------------------------------------------------------------- /examples/example.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/examples/example.tsx -------------------------------------------------------------------------------- /examples/example.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/examples/example.vue -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/package.json -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/natural-sort/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/natural-sort/index.ts -------------------------------------------------------------------------------- /src/natural-sort/natural-sort.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/natural-sort/natural-sort.d.ts -------------------------------------------------------------------------------- /src/preprocessors/default-processor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/preprocessors/default-processor.ts -------------------------------------------------------------------------------- /src/preprocessors/ember-preprocessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/preprocessors/ember-preprocessor.ts -------------------------------------------------------------------------------- /src/preprocessors/preprocessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/preprocessors/preprocessor.ts -------------------------------------------------------------------------------- /src/preprocessors/svelte-preprocessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/preprocessors/svelte-preprocessor.ts -------------------------------------------------------------------------------- /src/preprocessors/vue-preprocessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/preprocessors/vue-preprocessor.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/__tests__/adjust-comments-on-sorted-nodes.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/adjust-comments-on-sorted-nodes.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/assemble-updated-code.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/assemble-updated-code.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/get-all-comments-from-nodes.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/get-all-comments-from-nodes.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/get-code-from-ast.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/get-code-from-ast.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/get-experimental-parser-plugins.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/get-experimental-parser-plugins.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/get-import-nodes-matched-group.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/get-import-nodes-matched-group.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/get-sorted-import-specifiers.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/get-sorted-import-specifiers.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/get-sorted-nodes-by-import-order.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/get-sorted-nodes-by-import-order.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/get-sorted-nodes.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/get-sorted-nodes.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/is-builtin-module.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/is-builtin-module.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/is-sort-imports-ignored.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/is-sort-imports-ignored.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/should-skip-file.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/__tests__/should-skip-file.spec.ts -------------------------------------------------------------------------------- /src/utils/adjust-comments-on-sorted-nodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/adjust-comments-on-sorted-nodes.ts -------------------------------------------------------------------------------- /src/utils/assemble-updated-code.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/assemble-updated-code.ts -------------------------------------------------------------------------------- /src/utils/create-ember-parsers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/create-ember-parsers.ts -------------------------------------------------------------------------------- /src/utils/create-svelte-parsers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/create-svelte-parsers.ts -------------------------------------------------------------------------------- /src/utils/extract-ast-nodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/extract-ast-nodes.ts -------------------------------------------------------------------------------- /src/utils/get-all-comments-from-nodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-all-comments-from-nodes.ts -------------------------------------------------------------------------------- /src/utils/get-code-from-ast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-code-from-ast.ts -------------------------------------------------------------------------------- /src/utils/get-experimental-parser-plugins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-experimental-parser-plugins.ts -------------------------------------------------------------------------------- /src/utils/get-import-nodes-matched-group.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-import-nodes-matched-group.ts -------------------------------------------------------------------------------- /src/utils/get-import-nodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-import-nodes.ts -------------------------------------------------------------------------------- /src/utils/get-sorted-import-specifiers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-sorted-import-specifiers.ts -------------------------------------------------------------------------------- /src/utils/get-sorted-nodes-by-import-order.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-sorted-nodes-by-import-order.ts -------------------------------------------------------------------------------- /src/utils/get-sorted-nodes-group.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-sorted-nodes-group.ts -------------------------------------------------------------------------------- /src/utils/get-sorted-nodes-modules-names.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-sorted-nodes-modules-names.ts -------------------------------------------------------------------------------- /src/utils/get-sorted-nodes-names.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-sorted-nodes-names.ts -------------------------------------------------------------------------------- /src/utils/get-sorted-nodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/get-sorted-nodes.ts -------------------------------------------------------------------------------- /src/utils/is-builtin-module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/is-builtin-module.ts -------------------------------------------------------------------------------- /src/utils/is-sort-imports-ignored.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/is-sort-imports-ignored.ts -------------------------------------------------------------------------------- /src/utils/replace-at.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/replace-at.ts -------------------------------------------------------------------------------- /src/utils/should-skip-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/src/utils/should-skip-file.ts -------------------------------------------------------------------------------- /test-setup/raw-serializer.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/test-setup/raw-serializer.mjs -------------------------------------------------------------------------------- /test-setup/run_spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/test-setup/run_spec.mjs -------------------------------------------------------------------------------- /tests/Angular/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Angular/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/Angular/imports-with-decorators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Angular/imports-with-decorators.js -------------------------------------------------------------------------------- /tests/Angular/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Angular/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/Babel/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Babel/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/Babel/imports-with-comments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Babel/imports-with-comments.js -------------------------------------------------------------------------------- /tests/Babel/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Babel/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/BuiltinModules/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/BuiltinModules/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/BuiltinModules/builtin-modules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/BuiltinModules/builtin-modules.ts -------------------------------------------------------------------------------- /tests/BuiltinModules/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/BuiltinModules/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/BuiltinModulesDisabled/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/BuiltinModulesDisabled/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/BuiltinModulesDisabled/builtin-modules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/BuiltinModulesDisabled/builtin-modules.ts -------------------------------------------------------------------------------- /tests/BuiltinModulesDisabled/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/BuiltinModulesDisabled/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/BuiltinModulesWithCustomOrder/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/BuiltinModulesWithCustomOrder/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/BuiltinModulesWithCustomOrder/builtin-modules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/BuiltinModulesWithCustomOrder/builtin-modules.ts -------------------------------------------------------------------------------- /tests/BuiltinModulesWithCustomOrder/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/BuiltinModulesWithCustomOrder/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/Ember/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Ember/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/Ember/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Ember/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/Ember/sfc.gjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Ember/sfc.gjs -------------------------------------------------------------------------------- /tests/Ember/sfc.gts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Ember/sfc.gts -------------------------------------------------------------------------------- /tests/Flow/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Flow/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/Flow/imports-with-comments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Flow/imports-with-comments.js -------------------------------------------------------------------------------- /tests/Flow/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Flow/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/ImportPreventSortingSideEffects/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportPreventSortingSideEffects/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/ImportPreventSortingSideEffects/imports-with-side-effect-imports.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportPreventSortingSideEffects/imports-with-side-effect-imports.js -------------------------------------------------------------------------------- /tests/ImportPreventSortingSideEffects/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportPreventSortingSideEffects/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/import-export-in-between.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/import-export-in-between.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/import-export-only.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/import-export-only.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/imports-with-comments-and-third-party.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/imports-with-comments-and-third-party.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/imports-with-comments-on-top.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/imports-with-comments-on-top.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/imports-with-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/imports-with-comments.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/imports-with-directives.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/imports-with-directives.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/imports-with-file-level-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/imports-with-file-level-comments.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/imports-with-interpreter-directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/imports-with-interpreter-directive.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/imports-without-third-party.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/imports-without-third-party.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/no-import-export.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/no-import-export.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/one-import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/one-import.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/ImportsNotSeparated/sort-imports-ignored.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparated/sort-imports-ignored.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/import-export-in-between.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/import-export-in-between.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/import-export-only.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/import-export-only.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/imports-with-comments-and-third-party.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/imports-with-comments-and-third-party.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/imports-with-comments-on-top.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/imports-with-comments-on-top.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/imports-with-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/imports-with-comments.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/imports-with-file-level-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/imports-with-file-level-comments.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/imports-with-interpreter-directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/imports-with-interpreter-directive.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/imports-without-third-party.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/imports-without-third-party.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/no-import-export.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/no-import-export.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/one-import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/one-import.ts -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/ImportsNotSeparatedRest/sort-imports-ignored.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsNotSeparatedRest/sort-imports-ignored.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/ImportsSeparated/import-export-in-between.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/import-export-in-between.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/import-export-only.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/import-export-only.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/import-with-type-imports-together.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/import-with-type-imports-together.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/imports-with-comments-and-third-party.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/imports-with-comments-and-third-party.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/imports-with-comments-on-top.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/imports-with-comments-on-top.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/imports-with-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/imports-with-comments.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/imports-with-directives.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/imports-with-directives.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/imports-with-file-level-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/imports-with-file-level-comments.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/imports-with-interpreter-directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/imports-with-interpreter-directive.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/imports-without-third-party.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/imports-without-third-party.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/no-import-export.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/no-import-export.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/one-import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/one-import.ts -------------------------------------------------------------------------------- /tests/ImportsSeparated/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/ImportsSeparated/sort-imports-ignored.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparated/sort-imports-ignored.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/import-export-in-between.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/import-export-in-between.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/import-export-only.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/import-export-only.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/import-with-type-imports-together.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/import-with-type-imports-together.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/imports-with-comments-and-third-party.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/imports-with-comments-and-third-party.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/imports-with-comments-on-top.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/imports-with-comments-on-top.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/imports-with-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/imports-with-comments.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/imports-with-directives.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/imports-with-directives.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/imports-with-file-level-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/imports-with-file-level-comments.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/imports-with-interpreter-directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/imports-with-interpreter-directive.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/imports-without-third-party.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/imports-without-third-party.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/no-import-export.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/no-import-export.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/one-import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/one-import.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/ImportsSeparatedByUser/sort-imports-ignored.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedByUser/sort-imports-ignored.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/import-export-in-between.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/import-export-in-between.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/import-export-only.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/import-export-only.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/imports-with-comments-and-third-party.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/imports-with-comments-and-third-party.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/imports-with-comments-on-top.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/imports-with-comments-on-top.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/imports-with-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/imports-with-comments.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/imports-with-file-level-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/imports-with-file-level-comments.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/imports-with-interpreter-directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/imports-with-interpreter-directive.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/imports-without-third-party.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/imports-without-third-party.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/no-import-export.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/no-import-export.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/one-import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/one-import.ts -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/ImportsSeparatedRest/sort-imports-ignored.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsSeparatedRest/sort-imports-ignored.ts -------------------------------------------------------------------------------- /tests/ImportsWithAttributesKeyword/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsWithAttributesKeyword/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/ImportsWithAttributesKeyword/imports-with-attributes-keyword.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsWithAttributesKeyword/imports-with-attributes-keyword.ts -------------------------------------------------------------------------------- /tests/ImportsWithAttributesKeyword/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/ImportsWithAttributesKeyword/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/Svelte/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Svelte/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/Svelte/module.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Svelte/module.svelte -------------------------------------------------------------------------------- /tests/Svelte/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Svelte/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/Svelte/questionale.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Svelte/questionale.svelte -------------------------------------------------------------------------------- /tests/Svelte/simple.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Svelte/simple.svelte -------------------------------------------------------------------------------- /tests/Svelte/ts.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Svelte/ts.svelte -------------------------------------------------------------------------------- /tests/TSDeclare/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/TSDeclare/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/TSDeclare/import-inside-ts-declare.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/TSDeclare/import-inside-ts-declare.ts -------------------------------------------------------------------------------- /tests/TSDeclare/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/TSDeclare/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/Typescript/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Typescript/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/Typescript/imports-with-comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Typescript/imports-with-comments.ts -------------------------------------------------------------------------------- /tests/Typescript/imports-with-satisfies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Typescript/imports-with-satisfies.ts -------------------------------------------------------------------------------- /tests/Typescript/imports-with-unsorted-modules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Typescript/imports-with-unsorted-modules.ts -------------------------------------------------------------------------------- /tests/Typescript/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Typescript/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/Vue/__snapshots__/ppsi.spec.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Vue/__snapshots__/ppsi.spec.mjs.snap -------------------------------------------------------------------------------- /tests/Vue/ppsi.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Vue/ppsi.spec.mjs -------------------------------------------------------------------------------- /tests/Vue/setup.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Vue/setup.vue -------------------------------------------------------------------------------- /tests/Vue/setupAndScript.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Vue/setupAndScript.vue -------------------------------------------------------------------------------- /tests/Vue/sfc.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Vue/sfc.vue -------------------------------------------------------------------------------- /tests/Vue/sfcNoScript.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Vue/sfcNoScript.vue -------------------------------------------------------------------------------- /tests/Vue/sfcWithSpecialReplacerGroups.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Vue/sfcWithSpecialReplacerGroups.vue -------------------------------------------------------------------------------- /tests/Vue/ts.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Vue/ts.vue -------------------------------------------------------------------------------- /tests/Vue/tsx.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/Vue/tsx.vue -------------------------------------------------------------------------------- /tests/utils/replace-at.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tests/utils/replace-at.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/vitest.config.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trivago/prettier-plugin-sort-imports/HEAD/yarn.lock --------------------------------------------------------------------------------