{"id":15379576,"url":"https://github.com/blond/eslint-config-pedant","last_synced_at":"2026-02-27T17:35:51.667Z","repository":{"id":57143339,"uuid":"53196588","full_name":"blond/eslint-config-pedant","owner":"blond","description":":bowtie: Pedant preset for eslint","archived":false,"fork":false,"pushed_at":"2019-12-20T22:33:38.000Z","size":107,"stargazers_count":20,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-26T12:39:57.324Z","etag":null,"topics":["errors","es2015","es3","es5","eslint","pedant","shareable-configs","typos"],"latest_commit_sha":null,"homepage":"","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/blond.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-03-05T10:45:54.000Z","updated_at":"2024-04-11T08:06:24.000Z","dependencies_parsed_at":"2022-09-03T17:31:51.992Z","dependency_job_id":null,"html_url":"https://github.com/blond/eslint-config-pedant","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/blond/eslint-config-pedant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Feslint-config-pedant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Feslint-config-pedant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Feslint-config-pedant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Feslint-config-pedant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blond","download_url":"https://codeload.github.com/blond/eslint-config-pedant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Feslint-config-pedant/sbom","scorecard":{"id":243919,"data":{"date":"2025-08-11","repo":{"name":"github.com/blond/eslint-config-pedant","commit":"debae75ac23940bbf715f800e702693098125e28"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"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":"Code-Review","score":1,"reason":"Found 2/19 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T07:10:04.553Z","repository_id":57143339,"created_at":"2025-08-17T07:10:04.554Z","updated_at":"2025-08-17T07:10:04.554Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29887156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T05:38:26.446Z","status":"ssl_error","status_checked_at":"2026-02-27T05:38:25.235Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["errors","es2015","es3","es5","eslint","pedant","shareable-configs","typos"],"created_at":"2024-10-01T14:19:23.861Z","updated_at":"2026-02-27T17:35:51.640Z","avatar_url":"https://github.com/blond.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"eslint-config-pedant\n====================\n\nAn ESLint [Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs) to find errors, typos and potentially dangerous code.\n\n[![NPM Status][npm-img]][npm]\n[![Travis Status][test-img]][travis]\n\n[npm]:          https://www.npmjs.org/package/eslint-config-pedant\n[npm-img]:      https://img.shields.io/npm/v/eslint-config-pedant.svg\n\n[travis]:       https://travis-ci.org/blond/eslint-config-pedant\n[test-img]:     https://img.shields.io/travis/blond/eslint-config-pedant/master.svg?label=tests\n\n![pedant](https://cloud.githubusercontent.com/assets/2225579/13544540/31939a3a-e288-11e5-8fd2-f6a86190e037.jpg)\n\nTable of Contents\n-----------------\n\n* [Install](#install)\n* [Usage](#usage)\n* [Presets](#presets)\n* [FAQ](#faq)\n* [Semantic Versioning Policy](#semantic-versioning-policy)\n\nInstall\n-------\n\nYou'll first need to install ESLint:\n\n```\n$ npm install eslint --save-dev\n```\n\n**Note**: You may install ESLint globally using the `-g` flag.\n\nNext, install `eslint-config-pedant`:\n\n```\n$ npm install eslint-config-pedant --save-dev\n```\n\n**Note**: If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-config-pedant` globally.\n\nA globally-installed instance of ESLint can only use globally-installed ESLint plugins. A locally-installed ESLint can make use of both locally- and globally- installed ESLint plugins.\n\nUsage\n-----\n\nShareable configs are designed to work with the `extends` feature of `.eslintrc` files. You can learn more about [Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs) on the official ESLint website.\n\nAdd this to your `.eslintrc.json` file:\n\n```json\n{\n  \"extends\": \"pedant\"\n}\n```\n\n**Note**: We omitted the `eslint-config-` prefix since it is automatically assumed by ESLint.\n\nYou can override settings from the shareable config by adding them directly into your `.eslintrc.json` file.\n\nPresets\n-------\n\n### ECMAScript\n\nBy default rules are suitable for `ECMAScript 2015` or higher.\n\nFor `ECMAScript 2015` or higher, your config file should look like this:\n```json\n{\n  \"extends\": \"pedant\",\n  \"parserOptions\": {\n    \"ecmaVersion\": 6\n  }\n}\n```\n\nIf you are not using `ECMAScript 2015`, you can choose the config for `ECMAScript 5`:\n\n```json\n{\n  \"extends\": \"pedant/es5\"\n}\n```\n\nOr config for `ECMAScript 3`:\n\n```json\n{\n  \"extends\": \"pedant/es3\"\n}\n```\n\nFAQ\n---\n\n* [Whether this config is suitable for me?](#whether-this-config-is-suitable-for-me)\n* [Why this config does not contain stylistic rules?](#why-this-config-does-not-contain-stylistic-rules)\n\n### Whether this config is suitable for me?\n\nMost likely this config will suite you, because it contains only those rules which are necessary to find errors, typos and potentially dangerous code.\n\nTo make sure that this config is right for you:\n\n* Look at the [examples](./examples/bad/) of **incorrect** code.\n* Look at the [rules](./index.js) from this config. The detailed information about each rule you can find on the [eslint](http://eslint.org/docs/rules/) website.\n* Try this config in your project. If you agree with those errors then this config is for you.\n\n### Why this config does not contain stylistic rules?\n\nThis config intentionally does not limit your choice of code style.\n\nIf you want to check code style of your code you can add [stylistic rules](http://eslint.org/docs/rules/#stylistic-issues) to your config in your project.\n\nAlso, you can create your own [Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs) or use one of the existing.\n\nSemantic Versioning Policy\n--------------------------\n\nThe `eslint-config-pedant` follows [semantic versioning](semver) and [ESLint's Semantic Versioning Policy](eslint-semver).\n\n[semver]: http://semver.org\n[eslint-semver]: https://github.com/eslint/eslint#semantic-versioning-policy\n\nHowever, due to the nature of ESLint, it's not always clear when a minor or major version bump occurs. To help clarify this for everyone, ESLint defined the following semantic versioning policy:\n\n* Patch release (intended to not break your lint build)\n    * A bug fix in a rule options that results in ESLint reporting fewer errors.\n    * Improvements to documentation.\n    * Non-user-facing changes such as refactoring code, modifying tests, and increasing examples coverage.\n    * Re-releasing after a failed release (i.e., publishing a release that doesn't work for anyone).\n    * An existing rule is replaced (if rule is deprecated) that results in ESLint reporting fewer errors.\n* Minor release (might break your lint build)\n    * A bug fix in a rule options that results in ESLint reporting more errors.\n    * An existing rule is replaced (if rule is deprecated) that results in ESLint reporting more errors.\n    * A new rule is added that does not result in ESLint reporting more errors by default.\n    * A new option to an existing rule is added that does not result in ESLint reporting more errors by default.\n    * New capabilities to the public API are added (new presets, etc.).\n* Major release (likely to break your lint build)\n    * A new rule is added that results in ESLint reporting more errors by default.\n    * A new option to an existing rule is added that results in ESLint reporting more errors by default.\n    * An existing rule is removed (if rule is not deprecated).\n    * Part of the public API is removed or changed in an incompatible way (removed presets, etc.).\n\nAccording to our policy, any minor update may report more errors than the previous release (ex: from a bug fix). As such, we recommend using the tilde (`~`) in `package.json` e.g. `\"eslint-config-pedant\": \"~1.0.0\"` to guarantee the results of your builds.\n\nLicense\n-------\n\nMIT © [Andrew Abramov](https://github.com/blond)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblond%2Feslint-config-pedant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblond%2Feslint-config-pedant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblond%2Feslint-config-pedant/lists"}