{"id":17196755,"url":"https://github.com/weppos/pslint","last_synced_at":"2025-10-28T20:47:47.479Z","repository":{"id":65989032,"uuid":"50870368","full_name":"weppos/pslint","owner":"weppos","description":"PSLint is a linter for Public Suffix list","archived":false,"fork":false,"pushed_at":"2016-02-14T17:58:04.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T07:30:20.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/weppos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-01T20:55:20.000Z","updated_at":"2023-09-08T17:06:35.000Z","dependencies_parsed_at":"2023-02-19T20:45:52.412Z","dependency_job_id":null,"html_url":"https://github.com/weppos/pslint","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/weppos%2Fpslint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weppos%2Fpslint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weppos%2Fpslint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weppos%2Fpslint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weppos","download_url":"https://codeload.github.com/weppos/pslint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245423253,"owners_count":20612749,"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":[],"created_at":"2024-10-15T01:54:29.140Z","updated_at":"2025-10-28T20:47:47.385Z","avatar_url":"https://github.com/weppos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pslint\n\nPSLint is a linter for [Public Suffix list](https://publicsuffix.org/).\n\n[![Build Status](https://travis-ci.org/weppos/pslint.svg?branch=master)](https://travis-ci.org/weppos/pslint)\n\nPSLint is both a binary and a library. You can run the linter using the built-in `pslint` command or include the library as a dependency in your Go code to call the exported functions.\n\n\n## Compile\n\nYou need Go to compile the binary.\n\n```\n$ cd /path/to/repo\n$ go build\n```\n\nYou can also [cross-compile for several platforms](https://github.com/mitchellh/gox).\n\n\n## Usage\n\n```shell\n$ ./pslint\n\nUsage of pslint:\n    pslint [flags] # check from stdin\n    pslint [flags] --file path # check the content of file\nFlags:\n  -fail-fast\n        Stop checking on first error\n  -fail-first\n        Stop checking line on first error (default true)\n  -file string\n        Read the PSL from file\n```\n\n**Examples**\n\n```\n$ ./pslint --file lists/master.txt\nFound 0 problems!\n```\n\n```\n$ cat lists/master.txt | ./pslint\nFound 0 problems!\n```\n\n```\n$ ./pslint --file lists/errors.txt\nFound 5 problems:\n 40:  airline.aero | leading space        (warning)\n183: aRpa          | non-lowercase suffix (error)\n243:  sa.gov.au    | leading space        (warning)\n327: q.BG          | non-lowercase suffix (error)\n507: cOm.by        | non-lowercase suffix (error)\n```\n\n\n## License\n\nCopyright (c) 2016 Simone Carletti. This is Free Software distributed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweppos%2Fpslint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweppos%2Fpslint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweppos%2Fpslint/lists"}