{"id":20132369,"url":"https://github.com/stephtr/eslint-config-tonalio","last_synced_at":"2026-07-14T14:15:38.567Z","repository":{"id":42914506,"uuid":"249202730","full_name":"stephtr/eslint-config-tonalio","owner":"stephtr","description":"A custom eslint config supporting TypeScript, React, Svelte and JSON.","archived":false,"fork":false,"pushed_at":"2024-03-11T19:32:22.000Z","size":214,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T14:38:31.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephtr.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}},"created_at":"2020-03-22T14:38:10.000Z","updated_at":"2023-02-07T19:16:14.000Z","dependencies_parsed_at":"2024-03-11T20:47:41.158Z","dependency_job_id":null,"html_url":"https://github.com/stephtr/eslint-config-tonalio","commit_stats":{"total_commits":36,"total_committers":2,"mean_commits":18.0,"dds":0.08333333333333337,"last_synced_commit":"6fc84a7cac420d81162488906907a67ef9837ead"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/stephtr/eslint-config-tonalio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephtr%2Feslint-config-tonalio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephtr%2Feslint-config-tonalio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephtr%2Feslint-config-tonalio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephtr%2Feslint-config-tonalio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephtr","download_url":"https://codeload.github.com/stephtr/eslint-config-tonalio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephtr%2Feslint-config-tonalio/sbom","scorecard":{"id":851824,"data":{"date":"2025-08-11","repo":{"name":"github.com/stephtr/eslint-config-tonalio","commit":"6fc84a7cac420d81162488906907a67ef9837ead"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/24 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":"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":"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: GNU General Public License v3.0: 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":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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-8266-84wp-wv5c"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T22:44:30.581Z","repository_id":42914506,"created_at":"2025-08-23T22:44:30.582Z","updated_at":"2025-08-23T22:44:30.582Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35465091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"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":"2024-11-13T20:53:22.107Z","updated_at":"2026-07-14T14:15:38.547Z","avatar_url":"https://github.com/stephtr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-tonalio\n\nA custom eslint config supporting TypeScript, React and JSON.\n\n[This configuration](./index.js) is based on [airbnb](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb) and [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint). For supporting JSON files [`eslint-plugin-json`](https://github.com/azeemba/eslint-plugin-json) is being used, support for [Prettier](https://github.com/prettier) has been also added.\n\nIn addition, a [few rules](./rules.js) have been customized.\n\n## Usage\n\nIn order to use this configuration, one also has to install the peer dependencies `eslint`, `prettier` and `typescript`. After installing `eslint-config-tonalio`, adding `\"extends\": \"tonalio\"` to your eslint configuration file should be sufficient. You may also want to add a prettier config file.\n\n### Usage with Next.JS\n\nNext.JS provides some additional linting rules, which are not included in this configuration. It is therefore recommended to change your eslint config to include:\n\n```\n{\n\t\"extends\": [\n\t\t\"tonalio\",\n\t\t\"plugin:@next/next/recommended\",\n\t\t\"plugin:@next/next/core-web-vitals\"\n\t]\n}\n```\n\nYou need to install the package `@next/eslint-plugin-next`.\n\n## Changelog\n\n### 7.0.0\n\n-   Updated all dependencies, most notably `@typescript-eslint` to v6 and `prettier` to v3\n\n### 6.1.0\n\n-   Disable `react/react-in-jsx-scope` since it's not necessary anymore in NextJS \u0026 others\n\n### 6.0.0\n\n-   Updated dependencies (`eslint-config-airbnb-typescript@17.0.0`, `eslint-import-resolver-typescript@3.5.3`, `eslint-plugin-svelte3@4.0.0`)\n\n### 6.0.0\n\n-   Updated dependencies (`eslint-config-airbnb-typescript@17.0.0`, `eslint-import-resolver-typescript@3.5.3`, `eslint-plugin-svelte3@4.0.0`)\n\n### 5.1.5\n\n-   disable `@typescript-eslint/no-misused-promises` for void returns\n\n### 5.1.2 - 5.1.4\n\n-   Improve Svelte \u0026 SvelteKit rules\n\n### 5.1.1\n\n-   Enable TypeScript in Svelte\n\n### 5.1.0\n\n-   Initial support for svelte\n\n### 5.0.3\n\n-   Bump `eslint-plugin-json` and `eslint-config-prettier`\n\n### 5.0.2\n\n-   include missing dependency\n\n### 5.0.1\n\n-   remove react default prop requirement\n\n### 5.0.0\n\n-   Bump `@typescript-eslint` to support TypeScript v4, updated `eslint-config-airbnb-typescript` to v12\n\n### 4.0.0\n\n-   Updated `eslint-config-airbnb-typescript` to v9, eslint to v7 and prettier to v2\n\n### 3.0.0\n\n-   Switch enumMember casing from camelCase to PascalCase\n\n### 2.0.5\n\n-   Disable `@typescript-eslint/naming-convention` for unused `_` parameters\n\n### 2.0.4\n\n-   Disable `@typescript-eslint/explicit-module-boundary-types` for React files\n-   Enable PascalCasing e.g. for React functional components\n\n### 2.0.3\n\n-   Relax `@typescript-eslint/naming-convention` rule\n\n### 2.0.2\n\n-   Fix `@typescript-eslint/naming-convention`\n-   Disable `@typescript-eslint/no-unsafe-*` rules\n\n### 2.0.1\n\n-   Fix not existing `camelcase` rule\n\n### 2.0.0\n\n-   Bump `typescript-eslint` to v3, which drops support for Node v8 and TypeScript v3.2\n\n### 1.1.0\n\n-   In order to prevent a React version warning from appearing when not using React, it's version has been fixed to `latest`.\n\n### 1.0.0\n\n-   Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephtr%2Feslint-config-tonalio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephtr%2Feslint-config-tonalio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephtr%2Feslint-config-tonalio/lists"}