{"id":19893980,"url":"https://github.com/enpitsulin/prettier-plugin-tact","last_synced_at":"2025-03-05T19:42:28.902Z","repository":{"id":246019954,"uuid":"819862716","full_name":"enpitsuLin/prettier-plugin-tact","owner":"enpitsuLin","description":"Prettier plugin for tact lang","archived":false,"fork":false,"pushed_at":"2025-01-20T04:25:38.000Z","size":425,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T04:18:34.198Z","etag":null,"topics":["prettier-plugin","tact"],"latest_commit_sha":null,"homepage":"","language":"Tact","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/enpitsuLin.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":"2024-06-25T10:29:01.000Z","updated_at":"2025-01-20T04:25:40.000Z","dependencies_parsed_at":"2024-06-28T04:37:15.889Z","dependency_job_id":"d0701dae-85aa-4a18-b559-f95a94e4cfb2","html_url":"https://github.com/enpitsuLin/prettier-plugin-tact","commit_stats":{"total_commits":76,"total_committers":1,"mean_commits":76.0,"dds":0.0,"last_synced_commit":"599295c88ae49eef975488b17e644f01abecbe4f"},"previous_names":["enpitsulin/prettier-plugin-tact"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpitsuLin%2Fprettier-plugin-tact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpitsuLin%2Fprettier-plugin-tact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpitsuLin%2Fprettier-plugin-tact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpitsuLin%2Fprettier-plugin-tact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enpitsuLin","download_url":"https://codeload.github.com/enpitsuLin/prettier-plugin-tact/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242096976,"owners_count":20071246,"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":["prettier-plugin","tact"],"created_at":"2024-11-12T18:32:05.805Z","updated_at":"2025-03-05T19:42:28.863Z","avatar_url":"https://github.com/enpitsuLin.png","language":"Tact","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prettier-plugin-tact\n\n\u003cdiv align=\"center\"\u003e\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/enpitsuLin/prettier-plugin-tact/assets/29378026/29ddc4da-fcae-448b-a446-b908af811c58\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://github.com/enpitsuLin/prettier-plugin-tact/assets/29378026/4e39e5a6-31d5-43c2-aea0-1b5b90d9bf74\"\u003e\n  \u003cimg src=\"https://github.com/enpitsuLin/prettier-plugin-tact/assets/29378026/4e39e5a6-31d5-43c2-aea0-1b5b90d9bf74\" alt=\"LOGO\" style=\"width:auto;\"\u003e\n\u003c/picture\u003e\n\n\u003c/div\u003e\n\nA [prettier plugin](https://prettier.io/docs/en/plugins.html) for automatically formatting your [tact](https://github.com/tact-lang/tact) code.\n\n## Installation\n\nInstall both `prettier` and `prettier-plugin-tact`:\n\n```Bash\nnpm install --save-dev prettier prettier-plugin-tact\n// or by pnpm\npnpm add -D prettier prettier-plugin-tact\n```\n\n### Activate the plugin\n\nCreate or modify your [prettier configuration file](https://prettier.io/docs/en/configuration) to activate the plugin:\n\n```json\n{\n  \"plugins\": [\"prettier-plugin-tact\"]\n}\n```\n\n## Usage\n\nIf you installed prettier as a local dependency, you can add prettier as a script in your package.json,\n\n```json\n{\n  \"scripts\": {\n    \"prettier\": \"prettier\"\n  }\n}\n```\n\nRun prettier for your contracts files by command or you can add this to you script if you prefer:\n\n```Bash\nnpm run prettier -- path/to/file.tact --write\n# or\npnpm prettier path/to/file.tact --write\n```\n\n\u003e Prettier only works with valid code. If there is a syntax error, nothing will be done and a parser error will be thrown.\n\n### Notice\n\nBefore [`tree-sitter-tact` be publishing to npm registry](https://github.com/tact-lang/tree-sitter-tact/issues/12), you should install `tree-sitter-tact` from GitHub repo by:\n\n```sh\nnpm install -D https://github.com/tact-lang/tree-sitter-tact\n```\n\n## License\n\nDistributed under the MIT license. See [LICENSE](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenpitsulin%2Fprettier-plugin-tact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenpitsulin%2Fprettier-plugin-tact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenpitsulin%2Fprettier-plugin-tact/lists"}