{"id":15377118,"url":"https://github.com/crashmax-dev/prettier-config","last_synced_at":"2025-04-15T16:41:26.396Z","repository":{"id":37435535,"uuid":"505510175","full_name":"crashmax-dev/prettier-config","owner":"crashmax-dev","description":"✒ Here is my personal Prettier config.","archived":false,"fork":false,"pushed_at":"2024-02-05T09:15:44.000Z","size":79,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T20:03:31.381Z","etag":null,"topics":["config","formatter","prettier","typescript"],"latest_commit_sha":null,"homepage":"https://npm.im/@crashmax/prettier-config","language":"JavaScript","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/crashmax-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-20T16:06:17.000Z","updated_at":"2024-12-12T06:35:31.000Z","dependencies_parsed_at":"2023-01-30T20:01:00.035Z","dependency_job_id":"c7527c6e-d771-4a64-ac5e-6c050937b3be","html_url":"https://github.com/crashmax-dev/prettier-config","commit_stats":{"total_commits":61,"total_committers":1,"mean_commits":61.0,"dds":0.0,"last_synced_commit":"cb6d30a0f886e0eee566199d00842de685c96fc1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashmax-dev%2Fprettier-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashmax-dev%2Fprettier-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashmax-dev%2Fprettier-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashmax-dev%2Fprettier-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crashmax-dev","download_url":"https://codeload.github.com/crashmax-dev/prettier-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249110276,"owners_count":21214299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["config","formatter","prettier","typescript"],"created_at":"2024-10-01T14:09:45.076Z","updated_at":"2025-04-15T16:41:26.360Z","avatar_url":"https://github.com/crashmax-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@crashmax/prettier-config`\n\n\u003e Here is my personal [Prettier](https://prettier.io) config.\n\n## Install\n\n```sh\nnpm install @crashmax/prettier-config -D\n```\n\n```sh\nyarn add @crashmax/prettier-config -D\n```\n\n```sh\npnpm add @crashmax/prettier-config -D\n```\n\n## Usage\n\n```js\n// .prettierrc.cjs\nmodule.exports = require('@crashmax/prettier-config')\n```\n\n### Copy the ignore file to your project folder\n\nIf you want to extend the ignore file, run the following command in the root of your project folder:\n\n```bash\n# unix\ncp node_modules/@crashmax/prettier-config/.prettierignore .prettierignore\n\n# windows\ncopy node_modules/@crashmax/prettier-config/.prettierignore .prettierignore\n```\n\nIt will copy the `.prettierignore` from `@crashmax/prettier-config` to your project root folder.\n\n### Scripts\n\nSome commonly used scripts in `package.json`.\n\n```json\n{\n  \"scripts\": {\n    \"format\": \"prettier --write \\\"**/*.{js,ts,tsx,json}\\\"\"\n  }\n}\n```\n\n## Related\n\n- [Prettier](https://github.com/prettier/prettier) - an opinionated code formatter.\n- [Prettier - Sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations) - Document on sharing prettier configurations.\n- [Prettier - Ignore Code](https://prettier.io/docs/en/ignore.html) - Use `.prettierignore` to ignore certain files and folders completely.\n- [prettier-plugin-sort-imports](https://github.com/ianvs/prettier-plugin-sort-imports) - A prettier plugin to sort imports in typescript and javascript files by the provided RegEx order.\n- [prettier-plugin-multiline-arrays](https://github.com/electrovir/prettier-plugin-multiline-arrays) - Prettier plugin to force array elements to wrap onto new lines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrashmax-dev%2Fprettier-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrashmax-dev%2Fprettier-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrashmax-dev%2Fprettier-config/lists"}