{"id":16644593,"url":"https://github.com/secondfry/import-sort-style-module-tsconfig","last_synced_at":"2026-05-26T12:32:30.306Z","repository":{"id":57273090,"uuid":"357948189","full_name":"secondfry/import-sort-style-module-tsconfig","owner":"secondfry","description":"import-sort-style-module but treating tsconfig paths separately","archived":false,"fork":false,"pushed_at":"2021-10-29T19:30:50.000Z","size":288,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T01:41:18.079Z","etag":null,"topics":["import-sort","import-sort-style","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/import-sort-style-module-tsconfig","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/secondfry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://www.buymeacoffee.com/secondfry"}},"created_at":"2021-04-14T15:10:58.000Z","updated_at":"2021-10-29T19:30:53.000Z","dependencies_parsed_at":"2022-08-25T00:11:38.040Z","dependency_job_id":null,"html_url":"https://github.com/secondfry/import-sort-style-module-tsconfig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/secondfry/import-sort-style-module-tsconfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondfry%2Fimport-sort-style-module-tsconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondfry%2Fimport-sort-style-module-tsconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondfry%2Fimport-sort-style-module-tsconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondfry%2Fimport-sort-style-module-tsconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secondfry","download_url":"https://codeload.github.com/secondfry/import-sort-style-module-tsconfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondfry%2Fimport-sort-style-module-tsconfig/sbom","scorecard":{"id":809085,"data":{"date":"2025-08-11","repo":{"name":"github.com/secondfry/import-sort-style-module-tsconfig","commit":"be3b56230029344d43c1fd6676d25e5592e6476a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/13 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T12:37:05.872Z","repository_id":57273090,"created_at":"2025-08-23T12:37:05.872Z","updated_at":"2025-08-23T12:37:05.872Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33520567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["import-sort","import-sort-style","typescript"],"created_at":"2024-10-12T08:11:49.702Z","updated_at":"2026-05-26T12:32:30.290Z","avatar_url":"https://github.com/secondfry.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/secondfry"],"categories":[],"sub_categories":[],"readme":"# import-sort-style-module-tsconfig\nFinds your `tsconfig.json` and uses that to separate imports.\n\n- [import-sort-style-module-tsconfig](#import-sort-style-module-tsconfig)\n  - [Sort order](#sort-order)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Options](#options)\n\n## Sort order\n1. Absolute imports without members.\n2. Node modules.\n3. Absolute imports with members.\n4. Typescript path imports with members.\n5. Typescript path imports without members.\n6. Relative imports with members.\n7. Relative imports without members.\n\nExample:\n```typescript\nimport 'ignore-styles';\n\nimport path from 'path';\n\nimport React from 'react';\n\nimport MyComponent from 'src/components/my';\n\nimport 'src/theme/style.css';\n\nimport Box from './box';\n\nimport './style.css';\n```\n\n## Installation\n```\nnpm install --save-dev \\\n  forked-import-sort \\\n  forked-import-sort-cli \\\n  forked-import-sort-parser-typescript \\\n  import-sort-style-module-tsconfig\n```\nAdd following to your `package.json`:\n```\n  \"lint-staged\": {\n    \"*.{tsx,ts}\": [\n      /* ... */\n      \"import-sort --write .\",\n      \"git add\"\n    ]\n  },\n  \"importSort\": {\n    \".ts, .tsx\": {\n      \"parser\": \"forked-import-sort-parser-typescript\",\n      \"style\": \"module-tsconfig\",\n      \"options\": {}\n    }\n  }\n```\n\n## Usage\nEither install [sort-imports][vsc-sort-imports] for VSCode, or use via CLI (file watcher, etc.):\n```\nnpx import-sort --write .\n```\n\n## Options\nYou may also pass options to this style by putting them to `options` directive in `package.json`.\n| Key          | Type    | Default | Description                                      |\n|--------------|---------|---------|--------------------------------------------------|\n| isolatePaths | boolean | true    | Separates every tsconfig path as new group       |\n| workingDir   | string  | unset   | Used as directory for `tsconfig.json` resolution |\n\n[vsc-sort-imports]: https://marketplace.visualstudio.com/items?itemName=amatiasq.sort-imports\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecondfry%2Fimport-sort-style-module-tsconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecondfry%2Fimport-sort-style-module-tsconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecondfry%2Fimport-sort-style-module-tsconfig/lists"}