{"id":21648009,"url":"https://github.com/atom-community/prettier-config-atomic","last_synced_at":"2025-04-11T19:34:11.417Z","repository":{"id":37029260,"uuid":"349930392","full_name":"atom-community/prettier-config-atomic","owner":"atom-community","description":"The Prettier configuration used in atom-ide-community","archived":false,"fork":false,"pushed_at":"2025-03-03T02:09:12.000Z","size":318,"stargazers_count":6,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T15:32:55.301Z","etag":null,"topics":["hacktoberfest","prettier","prettier-config","prettier-preset"],"latest_commit_sha":null,"homepage":"","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/atom-community.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2021-03-21T07:38:51.000Z","updated_at":"2024-04-13T00:57:31.000Z","dependencies_parsed_at":"2023-12-10T11:27:14.395Z","dependency_job_id":"3fb12c12-8268-4ab9-baff-3db4b91308c7","html_url":"https://github.com/atom-community/prettier-config-atomic","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fprettier-config-atomic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fprettier-config-atomic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fprettier-config-atomic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fprettier-config-atomic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atom-community","download_url":"https://codeload.github.com/atom-community/prettier-config-atomic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248467448,"owners_count":21108644,"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":["hacktoberfest","prettier","prettier-config","prettier-preset"],"created_at":"2024-11-25T06:52:52.885Z","updated_at":"2025-04-11T19:34:11.396Z","avatar_url":"https://github.com/atom-community.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prettier-config-atomic\n\nThe Prettier configuration used in atom-community.\n\nThis configuration supports all the formats including `typescript`, `javascript`, `json`, `yaml`, and `markdown`.\n\n## Installation\n\n```\nnpm install --save-dev prettier-config-atomic\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eThis package also needs `prettier`.\u003c/summary\u003e\n\nEither add the following to your `.npmrc` if using `pnpm` to hoist the prettier bundled with the config\n\n```\npublic-hoist-pattern[]=*\n```\n\nOr install `prettier` yourself in your `devDependencies`.\n\nIf using `npm`, the prettier dependency is hoisted automatically.\n\n\u003c/details\u003e\n\n## Usage\n\nAdd the following to your `package.json`\n\n```json\n\"prettier\": \"prettier-config-atomic\",\n\"scripts\": {\n  \"format\": \"prettier --write .\",\n  \"test.format\": \"prettier . --check\"\n}\n```\n\nand run `npm run format` to format the files. You can also use `npm run test.format` in the CI to test formatting of the project.\n\nTo ignore some files from formatting, create a `.prettierignore` file and add the files to the list. This is usually the same as `gitignore`.\n\n```\nnode_modules\npnpm-lock.yaml\npackage-lock.json\nCHANGELOG.md\ndist\n```\n\nNotice that the built folders like `dist` are in the above list.\n\n### Modifying the config\n\nInstead of adding the `prettier` entry to `package.json`, create a `prettier.config.js` file at the root of the project with the following content:\n\n```js\nmodule.exports = {\n  ...require(\"prettier-config-atomic\"),\n\n  // add the modifications here:\n\n  // an example:\n  // semi: true,\n}\n```\n\n### GitHub Action Lint Job:\n\n```yaml\nLint:\n  if: \"!contains(github.event.head_commit.message, '[skip ci]')\"\n  runs-on: ubuntu-latest\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - name: Commit lint ✨\n      uses: wagoid/commitlint-github-action@v2\n\n    - name: Install dependencies\n      run: npm install\n\n    - name: Format ✨\n      run: npm run test.format\n\n    - name: Lint ✨\n      run: npm run test.lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom-community%2Fprettier-config-atomic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatom-community%2Fprettier-config-atomic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom-community%2Fprettier-config-atomic/lists"}