{"id":20311096,"url":"https://github.com/mcmath/tslint-rules","last_synced_at":"2026-03-09T20:05:36.194Z","repository":{"id":57123942,"uuid":"88777550","full_name":"mcmath/tslint-rules","owner":"mcmath","description":"Custom rules for TSLint","archived":false,"fork":false,"pushed_at":"2017-04-20T21:14:34.000Z","size":21,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T15:42:07.391Z","etag":null,"topics":["linter","tslint","tslint-config","tslint-rules","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/mcmath.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":"2017-04-19T18:27:40.000Z","updated_at":"2020-07-06T10:33:41.000Z","dependencies_parsed_at":"2022-08-28T23:03:36.929Z","dependency_job_id":null,"html_url":"https://github.com/mcmath/tslint-rules","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mcmath/tslint-rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcmath%2Ftslint-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcmath%2Ftslint-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcmath%2Ftslint-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcmath%2Ftslint-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcmath","download_url":"https://codeload.github.com/mcmath/tslint-rules/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcmath%2Ftslint-rules/sbom","scorecard":{"id":632233,"data":{"date":"2025-08-11","repo":{"name":"github.com/mcmath/tslint-rules","commit":"3b35eec5f21425e78eaed49c880fa74e5769bba9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/14 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":"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":"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":"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":"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":"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":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 1 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-21T08:15:53.380Z","repository_id":57123942,"created_at":"2025-08-21T08:15:53.380Z","updated_at":"2025-08-21T08:15:53.380Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30310037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["linter","tslint","tslint-config","tslint-rules","typescript"],"created_at":"2024-11-14T17:36:09.649Z","updated_at":"2026-03-09T20:05:36.175Z","avatar_url":"https://github.com/mcmath.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @mcmath/tslint-rules\n\n[![Version][version-badge]][npm]\n[![Build][build-badge]][travis]\n\nCustom rules for TSLint\n\n## Install\n\nInstall as an [npm][npm] devDependency. [TypeScript][typescript] and [TSLint][tslint]\nshould also be installed.\n\n```sh\nnpm install --save-dev typescript tslint @mcmath/tslint-rules\n```\n\n## Usage\n\nInclude a `tslint.json` file in your project and add `\"@mcmath/tslint-rules\"` to\nthe `\"extends\"` field. Custom rules can then be enabled under `\"rules\"`.\n\n```json\n{\n  \"extends\": [\"@mcmath/tslint-rules\"],\n  \"rules\": {\n    \"enum-member-name\": [true, \"caps-case\"]\n  }\n}\n```\n\n## Rules\n\n### enum-member-name\n\nEnsures `enum` members follow a consistent naming convention.\n\nThis rule accepts a single string option. If no option is given,\n\"pascal-case\" is assumed.\n\n| Option        | Attributes | Example     |\n|:--------------|:-----------|:------------|\n| \"pascal-case\" | default    | PascalCase  |\n| \"camel-case\"  |            | camelCase   |\n| \"caps-case\"   |            | CAPS_CASE   |\n| \"snake-case\"  |            | snake_case  |\n\n### enum-name\n\nEnsures `enum` identifiers follow a consistent naming convention.\n\nThis rule accepts a single string option. If no option is given,\n\"pascal-case\" is assumed.\n\n| Option        | Attributes | Example     |\n|:--------------|:-----------|:------------|\n| \"pascal-case\" | default    | PascalCase  |\n| \"camel-case\"  |            | camelCase   |\n| \"caps-case\"   |            | CAPS_CASE   |\n| \"snake-case\"  |            | snake_case  |\n\n## License\n\nCopyright \u0026copy; 2017 Akim McMath. Licensed under the [MIT License][license].\n\n[version-badge]: https://img.shields.io/npm/v/@mcmath/tslint-rules.svg?style=flat-square\n[build-badge]: https://img.shields.io/travis/mcmath/tslint-rules/master.svg?style=flat-square\n[npm]: https://www.npmjs.com/package/@mcmath/tslint-rules\n[travis]: https://travis-ci.org/mcmath/tslint-rules\n[typescript]: https://www.typescriptlang.org/\n[tslint]: https://palantir.github.io/tslint/\n[license]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcmath%2Ftslint-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcmath%2Ftslint-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcmath%2Ftslint-rules/lists"}