{"id":15679205,"url":"https://github.com/azu/textlint-reviewdog-example","last_synced_at":"2025-04-28T12:07:13.458Z","repository":{"id":66143727,"uuid":"81516291","full_name":"azu/textlint-reviewdog-example","owner":"azu","description":"textlint + reviewdog example project","archived":false,"fork":false,"pushed_at":"2017-02-10T14:37:55.000Z","size":24,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-28T12:07:08.610Z","etag":null,"topics":["ci","example","pr","pullrequest","review","textlint"],"latest_commit_sha":null,"homepage":"","language":null,"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/azu.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},"funding":{"github":"azu"}},"created_at":"2017-02-10T02:12:31.000Z","updated_at":"2021-10-24T01:44:37.000Z","dependencies_parsed_at":"2023-02-21T16:45:15.956Z","dependency_job_id":null,"html_url":"https://github.com/azu/textlint-reviewdog-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Ftextlint-reviewdog-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Ftextlint-reviewdog-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Ftextlint-reviewdog-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Ftextlint-reviewdog-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azu","download_url":"https://codeload.github.com/azu/textlint-reviewdog-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311330,"owners_count":21569009,"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":["ci","example","pr","pullrequest","review","textlint"],"created_at":"2024-10-03T16:26:53.697Z","updated_at":"2025-04-28T12:07:13.440Z","avatar_url":"https://github.com/azu.png","language":null,"funding_links":["https://github.com/sponsors/azu"],"categories":[],"sub_categories":[],"readme":"# textlint-reviewdog-example [![Build Status](https://travis-ci.org/azu/textlint-reviewdog-example.svg?branch=master)](https://travis-ci.org/azu/textlint-reviewdog-example)\n\n[textlint](https://github.com/textlint/textlint \"textlint\") + [reviewdog](https://github.com/haya14busa/reviewdog \"reviewdog\") example project\n\nreviewdog can write textlint's lint result as GitHub review comments.\n\n[![textlint-reviewdog-example 2017-02-10 23-23-17](https://cloud.githubusercontent.com/assets/19714/22829900/f0ab5cba-efe7-11e6-904f-7eae4e2701ba.png)](https://github.com/azu/textlint-reviewdog-example/pull/1)\n\nSee also:\n\n- [reviewdog — A code review dog who keeps your codebase healthy – Medium](https://medium.com/@haya14busa/reviewdog-a-code-review-dog-who-keeps-your-codebase-healthy-d957c471938b)\n\n## How to setup?\n\n### 1. Setup .travis.yml\n\n```yaml\nsudo: false\nlanguage: node_js\nnode_js: \"stable\"\nenv:\n- REVIEWDOG_VERSION=0.9.5\ninstall:\n  - mkdir -p ~/bin/ \u0026\u0026 export export PATH=\"~/bin/:$PATH\"\n  - curl -fSL https://github.com/haya14busa/reviewdog/releases/download/$REVIEWDOG_VERSION/reviewdog_linux_amd64 -o ~/bin/reviewdog \u0026\u0026 chmod +x ~/bin/reviewdog\n  - npm install\nscript:\n  - $(npm bin)/textlint README.md\nafter_failure:\n  - test \"$TRAVIS_PULL_REQUEST\" \u0026\u0026 $(npm bin)/textlint -f checkstyle README.md | reviewdog -f=checkstyle -name=\"textlint\" -ci=\"travis\"\n```\n\nSee [.travis.yml](.travis.yml) for details.\n\n### 2. Add `REVIEWDOG_GITHUB_API_TOKEN` to Travis CI Config\n\nGet your [personal access token](https://github.com/settings/tokens/new \"New personal access token\").\n\n![repo](https://monosnap.com/file/duLWpPrFoqR8uPvOZOniupuiptE1GB.png)\n\nSet the access token to `REVIEWDOG_GITHUB_API_TOKEN`.\n\n```shell-session\ntravis env set REVIEWDOG_GITHUB_API_TOKEN \u003cYOUR_TOKEN\u003e\n```\n\nYou can check the result:\n\n```shell-session\n$ travis env list\n# environment variables for azu/textlint-reviewdog-example\nREVIEWDOG_GITHUB_API_TOKEN=[secure]\n```\n\n### 3. Submit PR\n\nSee Example Pull Request.\n\n- [docs: Update README by azu · Pull Request #1 · azu/textlint-reviewdog-example](https://github.com/azu/textlint-reviewdog-example/pull/1 \"docs: Update README by azu · Pull Request #1 · azu/textlint-reviewdog-example\")\n\n[![textlint-reviewdog-example 2017-02-10 23-23-17](https://cloud.githubusercontent.com/assets/19714/22829900/f0ab5cba-efe7-11e6-904f-7eae4e2701ba.png)](https://github.com/azu/textlint-reviewdog-example/pull/1)\n\n## Running tests\n\nInstall devDependencies and Run `npm test`:\n\n    npm i -d \u0026\u0026 npm test\n\n## Contributing\n\nPull requests and stars are always welcome.\n\nFor bugs and feature requests, [please create an issue](https://github.com/azu/textlint-reviewdog-example/issues).\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Author\n\n- [github/azu](https://github.com/azu)\n- [twitter/azu_re](https://twitter.com/azu_re)\n\n## License\n\nMIT © azu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazu%2Ftextlint-reviewdog-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazu%2Ftextlint-reviewdog-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazu%2Ftextlint-reviewdog-example/lists"}