{"id":16845756,"url":"https://github.com/othree/eslint-plugin-pep8-blank-lines","last_synced_at":"2026-04-28T08:02:57.993Z","repository":{"id":57230105,"uuid":"130800411","full_name":"othree/eslint-plugin-pep8-blank-lines","owner":"othree","description":"An ESLint blank line rule supports rule for different level. Inspired by PEP8.","archived":false,"fork":false,"pushed_at":"2019-08-03T06:06:53.000Z","size":156,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T05:48:29.887Z","etag":null,"topics":["blank-line","eslint","eslint-plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/eslint-plugin-pep8-blank-lines","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/othree.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}},"created_at":"2018-04-24T05:24:58.000Z","updated_at":"2019-08-03T06:06:55.000Z","dependencies_parsed_at":"2022-09-14T15:02:40.329Z","dependency_job_id":null,"html_url":"https://github.com/othree/eslint-plugin-pep8-blank-lines","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/othree/eslint-plugin-pep8-blank-lines","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Feslint-plugin-pep8-blank-lines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Feslint-plugin-pep8-blank-lines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Feslint-plugin-pep8-blank-lines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Feslint-plugin-pep8-blank-lines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/othree","download_url":"https://codeload.github.com/othree/eslint-plugin-pep8-blank-lines/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Feslint-plugin-pep8-blank-lines/sbom","scorecard":{"id":714271,"data":{"date":"2025-08-11","repo":{"name":"github.com/othree/eslint-plugin-pep8-blank-lines","commit":"110b6ee372c3c438e79d3583bfed8b43b09ced7d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-22T09:06:34.587Z","repository_id":57230105,"created_at":"2025-08-22T09:06:34.587Z","updated_at":"2025-08-22T09:06:34.587Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32371673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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":["blank-line","eslint","eslint-plugin"],"created_at":"2024-10-13T12:59:57.623Z","updated_at":"2026-04-28T08:02:57.956Z","avatar_url":"https://github.com/othree.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-plugin-pep8-blank-lines\n\n[![CircleCI](https://circleci.com/gh/othree/eslint-plugin-pep8-blank-lines.svg?style=svg)](https://circleci.com/gh/othree/eslint-plugin-pep8-blank-lines)\n\nAn ESLint blank line rule supports rule for different level. Inspired by PEP8.\n\nNow in Beta. Not widely test.\n\n## Why\n\nThe space between chapters and between paragraphs should be different make it \nhave good readibility. I believe source code should too. But current \nESLint rules can't have different blank line rule in different level of scope.\n\nWhen I write Python and found the [PEP8][] coding style. I fall in love with \nthis simple but elegant rule. Basically, it allows two blank line between top \nlevel classes or functions. So I can keep more spaces between top level objects.\nAnd I decide to implement it in ESLint.\n\n\n## Usage\n\n### Install\n\nNPM install and save to dev dependency.\n\n```sh\nnpm install --save-dev eslint-plugin-pep8-blank-lines\n```\n\n### Configure\n\nSample eslintrc:\n\n```\n{\n  \"plugins\": [\n    \"pep8-blank-lines\",\n  ],\n\n  \"rules\": {\n    \"pep8-blank-lines/pep8-blank-lines\": 2\n  }\n}\n```\n\nIf your config based on other config style. You might need to disable some rule \nrelated to blank lines. Take [standard][] for example:\n\n\n```json\n{\n  \"extends\": \"standard\",\n\n  \"plugins\": [\n    \"pep8-blank-lines\",\n    \"no-parameter-e\"\n  ],\n\n  \"rules\": {\n    \"semi\": [2, \"always\"],\n    \"no-extra-semi\": 2,\n    \"comma-dangle\": [\"error\", \"always-multiline\"],\n    \"no-multiple-empty-lines\": 0,\n    \"pep8-blank-lines/pep8-blank-lines\": 2,\n    \"no-parameter-e/no-parameter-e\": 2\n  }\n}\n```\n\n[PEP8]:https://www.python.org/dev/peps/pep-0008/#blank-lines\n[standard]:https://standardjs.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fothree%2Feslint-plugin-pep8-blank-lines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fothree%2Feslint-plugin-pep8-blank-lines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fothree%2Feslint-plugin-pep8-blank-lines/lists"}