{"_id":"@adaskothebeast/prettier-import-sort","_rev":"9-d00e78599606c32afa9b2076745de590","name":"@adaskothebeast/prettier-import-sort","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"@adaskothebeast/prettier-import-sort","version":"1.0.0","main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"7fc97a6f40a9a10355edf8ab84f1d2ed69c7acfe","description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","_id":"@adaskothebeast/prettier-import-sort@1.0.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-jpSksT8zK/br2Q/QjDyUoDIAytRDLb2OFjK9tEVCOSqEtViJHLlbgllM1b1ZgfIf2ZcH96r609bLCUR9S7Qbuw==","shasum":"e0ff80bd1bb48a45d8cb97347735941555478c4f","tarball":"https://registry.npmjs.org/@adaskothebeast/prettier-import-sort/-/prettier-import-sort-1.0.0.tgz","fileCount":9,"unpackedSize":10632,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc6wQpv6kt5vh/ncFIKd1upw/uGozXFKlxIia2qdOZWgIhAMErLnXnzOtDWWCfqxOgR8YCnZiErXvbdXDUAybsO81e"}]},"_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-import-sort_1.0.0_1692303098239_0.8734193890295903"},"_hasShrinkwrap":false},"1.0.1":{"name":"@adaskothebeast/prettier-import-sort","version":"1.0.1","main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"7fc97a6f40a9a10355edf8ab84f1d2ed69c7acfe","description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","_id":"@adaskothebeast/prettier-import-sort@1.0.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-ricnxoer8qXuLNPwC8uqmafTKAt8mX+GYzpT9OwpNbtPC5nKuUMxKxj/akOoXOjPRwg0xeby+6D9P3lXjWgyQg==","shasum":"2ed3ae1cc40776ae0203e0d685c7dff8016a3f55","tarball":"https://registry.npmjs.org/@adaskothebeast/prettier-import-sort/-/prettier-import-sort-1.0.1.tgz","fileCount":9,"unpackedSize":11370,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDaPXXgp9Vw7t1iFamn+0D4DJTe/hS0Sfa5LYJABTgc9AiAJg14yzLuLyOa3BJ9MNgR4aiZFQFS0qOzt4Gc2v8hWMg=="}]},"_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-import-sort_1.0.1_1692306383109_0.5922919361711196"},"_hasShrinkwrap":false},"1.0.2":{"name":"@adaskothebeast/prettier-import-sort","version":"1.0.2","main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"7fc97a6f40a9a10355edf8ab84f1d2ed69c7acfe","description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","_id":"@adaskothebeast/prettier-import-sort@1.0.2","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-h9VduGmLq4yVNNXR0NDzLLPRpwAmSuIG2INL5GYFDjSlEi1orBlaccKQiLDPqCd9TdRcLAKEXHL3oFQNCqA0Jw==","shasum":"94c305b20e6f3ac85facd4aad1173ce1872b5915","tarball":"https://registry.npmjs.org/@adaskothebeast/prettier-import-sort/-/prettier-import-sort-1.0.2.tgz","fileCount":9,"unpackedSize":11923,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPWqDF4yrz4SYkdp7GkdvN8BlgaZ2VVUZDXVoV9QAAkAiALJp3Vj/Ez3P0oci9+ApkRMgl67N4Pgn/MFd/sp6jDIw=="}]},"_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-import-sort_1.0.2_1692307152877_0.6401310845885462"},"_hasShrinkwrap":false},"1.0.3":{"name":"@adaskothebeast/prettier-import-sort","version":"1.0.3","main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"7fc97a6f40a9a10355edf8ab84f1d2ed69c7acfe","description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","_id":"@adaskothebeast/prettier-import-sort@1.0.3","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-SnDhInx1XZ42ck+6EfWOQW5qgQGZkLOLZXEimXHDo2TWOhEixDVIW5oL8FPnKxBnfoca5gDMTf+J3iA5DJR6vw==","shasum":"9c25666a32b626d66fb3ac142e5515a263a1d86b","tarball":"https://registry.npmjs.org/@adaskothebeast/prettier-import-sort/-/prettier-import-sort-1.0.3.tgz","fileCount":9,"unpackedSize":11642,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHjA+pazu7eFCitcLrtoffUDHox57pddG7rDUHJi/rAAIhAJDjyrHUV2ZzL008RHoUQ33VehwmAvf20ONRqaZ1U7Eb"}]},"_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-import-sort_1.0.3_1692308231478_0.39603780813627765"},"_hasShrinkwrap":false},"1.0.4":{"name":"@adaskothebeast/prettier-import-sort","version":"1.0.4","main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"7fc97a6f40a9a10355edf8ab84f1d2ed69c7acfe","description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","_id":"@adaskothebeast/prettier-import-sort@1.0.4","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-9ZL8fxCqjWApI1urWmEr+HUzGob8LRSu1LRocAyQk++W9Q0wvkdo1bBCPo1oUPznb8xc7hjAkEAs8mFYXbsloQ==","shasum":"3d33473494fa05f1912f090a9b363d1d0711da82","tarball":"https://registry.npmjs.org/@adaskothebeast/prettier-import-sort/-/prettier-import-sort-1.0.4.tgz","fileCount":9,"unpackedSize":10928,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPTxak/CoPs09hCW8x/7SwENNhP7Du+Z1JX7dt66VD9wIhAKZvCiInfhYmVKcFwLu7U4Iefjoth6LOqsXQoc3iYmvt"}]},"_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-import-sort_1.0.4_1692310057600_0.7899759435069038"},"_hasShrinkwrap":false},"1.0.5":{"name":"@adaskothebeast/prettier-import-sort","version":"1.0.5","main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"d6d5092ff83b432517fa29e235b3ed9b1747fe7f","description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","_id":"@adaskothebeast/prettier-import-sort@1.0.5","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-5SfC88IaI1R7ew05dIbCwT2Zh/hxFO435B6liLXRoFWiJsF8/OsIwaAPpx8ibeXjjuSkDqWvA5htK4f4/ngZ9A==","shasum":"f7966ff715741382993d2c89bd1ff9cd8cc6a05b","tarball":"https://registry.npmjs.org/@adaskothebeast/prettier-import-sort/-/prettier-import-sort-1.0.5.tgz","fileCount":9,"unpackedSize":10517,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDtnb7ah/AFpmI6rlgXiw5OM22XZ1f/K3X1IT/qYwaoUAiEAw5rjwLlB63k+Gy4NWwDUc9VBUM8l6KfyTXZa3V+aLsA="}]},"_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-import-sort_1.0.5_1692311356022_0.5835593436894218"},"_hasShrinkwrap":false},"1.0.6":{"name":"@adaskothebeast/prettier-import-sort","version":"1.0.6","main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"d6d5092ff83b432517fa29e235b3ed9b1747fe7f","description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","_id":"@adaskothebeast/prettier-import-sort@1.0.6","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-a6sIFEHbm+tEzo4vrNTYEERJAlk86ipi1D+xQxqYnUUEyxsyxwHMqX+uYd6SR03Ny2d4C+lqI8uUPcgLlqZGRg==","shasum":"476a2b19f13eaab429b13fd627d8b2c7b50ebb05","tarball":"https://registry.npmjs.org/@adaskothebeast/prettier-import-sort/-/prettier-import-sort-1.0.6.tgz","fileCount":9,"unpackedSize":10725,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEnQCfuNkCVUb+l1HV7Utdi3Lm2y30IG7bXebvHtEdQVAiBG3YZZTdlWPUAXfTifUzVh00OZt90K+KPIzT8GIn6SYA=="}]},"_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-import-sort_1.0.6_1692312353466_0.3409183100562623"},"_hasShrinkwrap":false},"1.0.7":{"name":"@adaskothebeast/prettier-import-sort","version":"1.0.7","main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"d6d5092ff83b432517fa29e235b3ed9b1747fe7f","description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","_id":"@adaskothebeast/prettier-import-sort@1.0.7","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-WPgdqHgS27+RDqe2GiOhCxDqaPjU3svjbj3Zg6iB6HSp6e3cjRTJo+ulllM7iaAAsUz3reF5sHLcU3YcSfFd4Q==","shasum":"2dc16265e966c4afe4d9e93f994c73d22ca43396","tarball":"https://registry.npmjs.org/@adaskothebeast/prettier-import-sort/-/prettier-import-sort-1.0.7.tgz","fileCount":9,"unpackedSize":10707,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoRfK9k+fPD+JwxoDaLb9DrDnh/XaHv/rCISyUP8KUfgIhANwN7/1FQwNmI2Yqd5DyGg6IwOcOH2OQY+Z+YWHqjJBS"}]},"_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-import-sort_1.0.7_1692312787036_0.3224439449280434"},"_hasShrinkwrap":false},"1.0.8":{"name":"@adaskothebeast/prettier-import-sort","version":"1.0.8","main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"d6d5092ff83b432517fa29e235b3ed9b1747fe7f","description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","_id":"@adaskothebeast/prettier-import-sort@1.0.8","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-6H/aY+hEHZk2WrWu5ucASXkcm+Ei0il+XXC4PbXrHkqRR6Wkdinzmdqe8NNYj83g9LWaO2T31OtlarhYKLBS5w==","shasum":"12da4c60cff22af89b747b6e963747f6399ca6ae","tarball":"https://registry.npmjs.org/@adaskothebeast/prettier-import-sort/-/prettier-import-sort-1.0.8.tgz","fileCount":9,"unpackedSize":11497,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF3+12ywP/iBT1eGDXjgYDPCwO4IcPfb4mpCLNhyZLWhAiBrOMAZQRTRxAOA6MGHXhgH4JMfpaYwc8de1+mxeclccA=="}]},"_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-import-sort_1.0.8_1693756585643_0.08962793765303156"},"_hasShrinkwrap":false},"1.0.9":{"name":"@adaskothebeast/prettier-import-sort","version":"1.0.9","main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"d6d5092ff83b432517fa29e235b3ed9b1747fe7f","description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","_id":"@adaskothebeast/prettier-import-sort@1.0.9","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-vVWuw29hHru6Unx85As4mFOELjMb6v4bQYX76uFRkW44Kg/gWnR2RYe4whMgZpjpummJrkE7f/B6HzXaMu8evg==","shasum":"16fcffd8dd20b0d065669ca8ad21e28e226ec0d6","tarball":"https://registry.npmjs.org/@adaskothebeast/prettier-import-sort/-/prettier-import-sort-1.0.9.tgz","fileCount":9,"unpackedSize":11567,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD54c6nLZgECIN+yVjdjrWrkv8P/Q62UjRsREL63OuUlwIgPOdJipocxFCrVcrnc7OQ3tCeBmT8rZfoUq2QsRAa6X4="}]},"_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-import-sort_1.0.9_1693756853211_0.714782263101384"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-17T20:11:38.130Z","1.0.0":"2023-08-17T20:11:38.440Z","modified":"2023-09-03T16:00:53.661Z","1.0.1":"2023-08-17T21:06:23.414Z","1.0.2":"2023-08-17T21:19:13.113Z","1.0.3":"2023-08-17T21:37:11.690Z","1.0.4":"2023-08-17T22:07:37.829Z","1.0.5":"2023-08-17T22:29:16.182Z","1.0.6":"2023-08-17T22:45:53.631Z","1.0.7":"2023-08-17T22:53:07.259Z","1.0.8":"2023-09-03T15:56:25.835Z","1.0.9":"2023-09-03T16:00:53.440Z"},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"description":"[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;","readme":"# @adaskothebeast/prettier-import-sort\r\n\r\n[Prettier] plugin for sort imports using [import-sort] for javascript and TypeScript files based on [prettier-plugin-import-sort] great work of @ggascoigne and @renke - adjustment for Prettier v3;\r\n\r\n[Prettier]: https://github.com/prettier/prettier\r\n[import-sort]: https://github.com/renke/import-sort\r\n[prettier-plugin-import-sort]: https://github.com/ggascoigne/prettier-plugin-import-sort\r\n\r\n## Installation\r\n\r\n1. Install [Prettier] and this plugin with:\r\n\r\n    ```bash\r\n    npm i -D prettier @adaskothebeast/prettier-import-sort import-sort-config\r\n    ```\r\n\r\n    or\r\n\r\n    ```bash\r\n    yarn add -D prettier @adaskothebeast/prettier-import-sort import-sort-config\r\n    ```\r\n\r\n1. You will also want to install an import sort style module of your choice, such as: \r\n\r\n    ```bash\r\n    npm i -D import-sort-style-module\r\n    ```\r\n\r\n    or\r\n\r\n    ```bash\r\n    yarn add -D import-sort-style-module\r\n    ```\r\n\r\n1. You will then need the configuration for import-sorts available for example in `importsortrc.js`\r\n\r\n    ```js\r\n    module.exports = {\r\n      '.js, .jsx, .ts, .tsx': {\r\n        style: 'module',\r\n        parser: 'babel',\r\n      },\r\n    };\r\n    ```\r\n\r\n1. If you are using TypeScript, you may also need to specify the TypeScript parser.  This is somewhat dependant upon the TypeScript features used (decorators for instance), e.g.\r\n\r\n    ```js\r\n    module.exports = {\r\n      '.js, .jsx, .ts, .tsx': {\r\n        style: 'module',\r\n        parser: 'typescript',\r\n      },\r\n    };\r\n    ```\r\n\r\n    Note: importSort silently falls back to its default configuration if it finds a setup error. Make sure that the extension list is like the example above and not something like `\"*.js\"` which is an error.\r\n\r\n1. adjust your `.prettierrc` file to include the plugin:\r\n\r\n    ```json\r\n    {\r\n      \"plugins\": [\"@adaskothebeast/prettier-import-sort\"]\r\n    }\r\n    ```\r\n\r\n### Credits:\r\n\r\nA large part of this code was copied from prettier-plugin-import-sort.\r\n","readmeFilename":"README.md"}