{"id":38918070,"url":"https://github.com/manuelarte/presentation-create-your-first-linter","last_synced_at":"2026-01-17T15:29:39.348Z","repository":{"id":323382482,"uuid":"1093034484","full_name":"manuelarte/presentation-create-your-first-linter","owner":"manuelarte","description":"Presentation about creating your first linter.","archived":false,"fork":false,"pushed_at":"2026-01-14T07:36:23.000Z","size":43593,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-14T11:25:09.032Z","etag":null,"topics":["go","golang","golangci","golangci-lint","guide","linter","meetup","plugin","tutorial"],"latest_commit_sha":null,"homepage":"https://manuelarte.github.io/presentation-create-your-first-linter/","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/manuelarte.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-09T19:25:28.000Z","updated_at":"2026-01-14T07:35:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/manuelarte/presentation-create-your-first-linter","commit_stats":null,"previous_names":["manuelarte/presentation-create-your-first-linter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manuelarte/presentation-create-your-first-linter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelarte%2Fpresentation-create-your-first-linter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelarte%2Fpresentation-create-your-first-linter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelarte%2Fpresentation-create-your-first-linter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelarte%2Fpresentation-create-your-first-linter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manuelarte","download_url":"https://codeload.github.com/manuelarte/presentation-create-your-first-linter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelarte%2Fpresentation-create-your-first-linter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["go","golang","golangci","golangci-lint","guide","linter","meetup","plugin","tutorial"],"created_at":"2026-01-17T15:29:38.592Z","updated_at":"2026-01-17T15:29:39.340Z","avatar_url":"https://github.com/manuelarte.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create Your First Linter\n\nHere I have the content to give the presentation about how to create your first linter.\n\nThe goal of this presentation is to create a linter, and run:\n\n- standalone\n- inside [golangci-lint][golangci]\n\n🔗[Link to the presentation][5]\n\n## Tools\n\n- I am using [reveal.js][2] to create the slides.\n\nTo start the slides, inside the [./slides/](./slides/) folder, run:\n\n```bash\nnpm start\n```\n\n## Go Projects\n\n### Ast Example\n\nExample on how the AST looks like for a small .go file\n\n```bash\ncd astexample \u0026\u0026 make t\n```\n\n### Unexported Constants Check\n\nExercise to implement uber style guideline [Prefix Unerxported Globals with _](https://github.com/uber-go/guide/blob/master/style.md#prefix-unexported-globals-with-_).\n\n\u003ctable\u003e\n\u003cthead\u003e\u003ctr\u003e\u003cth\u003eBad\u003c/th\u003e\u003cth\u003eGood\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\u003ctd\u003e\n\n```go\n// foo.go\n\nconst (\n  defaultPort = 8080\n  defaultUser = \"user\"\n)\n\n// bar.go\n\nfunc Bar() {\n  defaultPort := 9090\n  ...\n  fmt.Println(\"Default port\", defaultPort)\n\n  // We will not see a compile error if the first line of\n  // Bar() is deleted.\n}\n```\n\n\u003c/td\u003e\u003ctd\u003e\n\n```go\n// foo.go\n\nconst (\n  _defaultPort = 8080\n  _defaultUser = \"user\"\n)\n```\n\n\u003c/td\u003e\u003c/tr\u003e\n\u003c/tbody\u003e\u003c/table\u003e\n\nTo implement: [analyzer.go](./unexportedconstantscheck/analyzer.go)\n\n### Custom Module\n\nSmall web app to run [custom plugin linters][4].\n\n[golangci]: https://golangci-lint.run/\n[2]: https://revealjs.com/\n[3]: https://github.com/jj-vcs/jj\n[4]: https://golangci-lint.run/plugins/module-plugins/\n[5]: https://manuelarte.github.io/presentation-create-your-first-linter/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelarte%2Fpresentation-create-your-first-linter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanuelarte%2Fpresentation-create-your-first-linter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelarte%2Fpresentation-create-your-first-linter/lists"}