{"id":16246893,"url":"https://github.com/dakrone/lein-bikeshed","last_synced_at":"2025-04-04T13:09:15.506Z","repository":{"id":5916239,"uuid":"7135594","full_name":"dakrone/lein-bikeshed","owner":"dakrone","description":"A Leiningen plugin designed to tell you your code is bad, and that you should feel bad","archived":false,"fork":false,"pushed_at":"2019-03-22T22:51:47.000Z","size":85,"stargazers_count":177,"open_issues_count":9,"forks_count":23,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-11T14:34:19.795Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dakrone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-12T18:40:48.000Z","updated_at":"2024-05-21T08:06:49.000Z","dependencies_parsed_at":"2022-09-05T09:31:22.054Z","dependency_job_id":null,"html_url":"https://github.com/dakrone/lein-bikeshed","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakrone%2Flein-bikeshed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakrone%2Flein-bikeshed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakrone%2Flein-bikeshed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakrone%2Flein-bikeshed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dakrone","download_url":"https://codeload.github.com/dakrone/lein-bikeshed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247181641,"owners_count":20897370,"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-10T14:34:47.623Z","updated_at":"2025-04-04T13:09:15.486Z","avatar_url":"https://github.com/dakrone.png","language":"Clojure","funding_links":[],"categories":["Code Analysis and Linter"],"sub_categories":[],"readme":"# lein-bikeshed\n\nA Leiningen plugin designed to tell you your code is bad, and that you\nshould feel bad.\n\n## Usage\n\nAdd to your ~/.lein/profiles.clj:\n\n```clojure\n{:user {:plugins [[lein-bikeshed \"0.5.2\"]]}}\n```\n\nJust run `lein bikeshed` on your project:\n\n```\n∴ lein bikeshed\n\nChecking for lines longer than 80 characters.\nBadly formatted files:\n/home/hinmanm/src/clj/lein-bikeshed/test/bikeshed/core_test.clj:10:(def this-thing-is-over-eighty-characters-long \"yep, it certainly is over eighty characters long\")\n\nChecking for lines with trailing whitespace.\nBadly formatted files:\n/home/hinmanm/src/clj/lein-bikeshed/test/bikeshed/core_test.clj:5:(deftest a-test /home/hinmanm/src/clj/lein-bikeshed/test/bikeshed/core_test.clj:6: (testing \"FIXME, I fail, and I have trailing whitespace!\"\n\nChecking for files ending in blank lines.\nBadly formatted files:\n/home/hinmanm/src/clj/lein-bikeshed/src/bikeshed/core.clj\n/home/hinmanm/src/clj/lein-bikeshed/test/bikeshed/core_test.clj\n\nChecking for redefined var roots in source directories.\nwith-redefs found in source directory:\n/home/hinmanm/src/clj/lein-bikeshed/src/bikeshed/core.clj:17: (with-redefs [+ -]\n/home/hinmanm/src/clj/lein-bikeshed/src/bikeshed/core.clj:92: \"xargs egrep -H -n '(\\\\(with-redefs)'\")\n\nChecking whether you keep up with your docstrings.\n1/2 [50.00%] namespaces have docstrings.\n10/12 [83.33%] functions have docstrings.\nUse -v to list functions without docstrings\")\")))\n\nChecking for arguments colliding with clojure.core functions.\n#'bikeshed.core/colliding-arguments: 'map', 'first' are colliding with core functions\n\nThe following checks failed:\n * long-lines\n * trailing-whitespace\n * trailing-blank-lines\n * var-redefs\n * name-collisions\n\n```\n\n## Options\n\n| Switches                    | Default | Desc                        |\n| --------------------------- | ------- | --------------------------- |\n| -H, --no-help-me, --help-me | false   | Show help                   |\n| -v, --no-verbose, --verbose | false   | Display missing doc strings |\n| -m, --max-line-length       | 80      | Max line length             |\n| -l, --long-lines            | true    | Check for lines with length \u003e max line length |\n| -w, --trailing-whitespace   | true    | Check for trailing whitespace |\n| -b, --trailing-blank-lines  | true    | Check for trailing blank lines |\n| -r, --var-redefs            | true    | Check for redefined root vars |\n| -d, --docstrings            | true    | Generate a report of docstring coverage |\n| -n, --name-collisions       | true    | Check for function arg names that collide with clojure.core |\n| -x, --exclude-profiles      |         | Comma-separated profile exclusion |\n\nYou can also add the `:bikeshed` option map directly to your `project.clj`:\n\n```clj\n(defproject my-thing \"1.0.0\"\n  :description \"A thing\"\n  ;; Override the default max-line-length\n  :bikeshed {:max-line-length 60\n             :var-redefs false\n             :name-collisions false}\n  :dependencies [[clj-http \"3.3.0\"]])\n```\n\n## License\n\nCopyright © 2012 Matthew Lee Hinman \u0026 Sonian\n\nDistributed under the Eclipse Public License, the same as Clojure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdakrone%2Flein-bikeshed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdakrone%2Flein-bikeshed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdakrone%2Flein-bikeshed/lists"}