{"id":27786267,"url":"https://github.com/clever/csvlint","last_synced_at":"2026-02-24T01:31:53.244Z","repository":{"id":22655337,"uuid":"25998468","full_name":"Clever/csvlint","owner":"Clever","description":"library and command line tool that validates a CSV file","archived":false,"fork":false,"pushed_at":"2025-08-26T00:43:32.000Z","size":59,"stargazers_count":204,"open_issues_count":14,"forks_count":21,"subscribers_count":70,"default_branch":"master","last_synced_at":"2025-08-26T02:40:53.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Clever.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}},"created_at":"2014-10-31T02:14:41.000Z","updated_at":"2025-08-26T00:43:36.000Z","dependencies_parsed_at":"2024-01-03T05:45:41.176Z","dependency_job_id":"0ca48587-8951-4881-b34a-9c61007c2e7a","html_url":"https://github.com/Clever/csvlint","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Clever/csvlint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fcsvlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fcsvlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fcsvlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fcsvlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clever","download_url":"https://codeload.github.com/Clever/csvlint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fcsvlint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281361403,"owners_count":26487881,"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","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-04-30T15:58:38.613Z","updated_at":"2025-10-27T23:37:56.455Z","avatar_url":"https://github.com/Clever.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csvlint\n\n`csvlint` is a library and command-line utility for linting CSV files according to [RFC 4180](http://tools.ietf.org/html/rfc4180).\n\nIt assumes that your CSV file has an initial header row.\n\nEverything in this README file refers to the command-line utility.\nFor information about the library, see [godoc](http://godoc.org/github.com/Clever/csvlint).\n\n## Installing\n\nStandalone executables for multiple platforms are available via [Github Releases](https://github.com/Clever/csvlint/releases).\n\nYou can also compile from source:\n\n```shell\ngo get github.com/Clever/csvlint/cmd/csvlint\n```\n\n## Usage\n\n`csvlint [options] /path/to/csv/file`\n\n### Options\n\n_*NOTE*: The default settings validate that a CSV conforms to [RFC 4180](https://tools.ietf.org/html/rfc4180). By changing the settings, you can no longer strictly guarantee a CSV conforms to RFC 4180._\n\n  * delimiter: the field delimiter, can be any single unicode character\n    * default: \",\" (comma)\n    * valid options: \"\\t\", \"|\", \"ஃ\", etc\n    * if you want multi-character delimiters, you're probably doing CSVs wrong\n  * lazyquotes: allow a quote to appear in an unquoted field and a non-doubled quote to appear in a quoted field. _WARNING: your file may pass linting, but not parse in the way you would expect_\n\n### Examples\n\n```shell\n$ csvlint bad_quote.csv\nRecord #1 has error: bare \" in non-quoted-field\n\nunable to parse any further\n\n$ csvlint --lazyquotes bad_quote.csv\nfile is valid\n\n$ csvlint mult_long_columns.csv\nRecord #2 has error: wrong number of fields in line\nRecord #4 has error: wrong number of fields in line\n\n$ csvlint --delimiter='\\t' mult_long_columns_tabs.csv\nRecord #2 has error: wrong number of fields in line\nRecord #4 has error: wrong number of fields in line\n\n$ csvlint one_long_column.csv\nRecord #2 has error: wrong number of fields in line\n\n$ csvlint perfect.csv\nfile is valid\n```\n\n### Exit codes\n\n`csvlint` uses three different exit codes to mean different things:\n  * 0 - the file is valid\n  * 1 - couldn't parse the entire file\n  * 2 - could parse the file, but there were lint failures\n\n## Vendoring\n\nPlease view the [dev-handbook for instructions](https://github.com/Clever/dev-handbook/blob/master/golang/godep.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclever%2Fcsvlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclever%2Fcsvlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclever%2Fcsvlint/lists"}