{"id":16227549,"url":"https://github.com/benyasin/eslint-plugin-filename","last_synced_at":"2025-10-11T08:33:38.159Z","repository":{"id":57229853,"uuid":"351756926","full_name":"benyasin/eslint-plugin-filename","owner":"benyasin","description":"eslint plugin for filename checking","archived":false,"fork":false,"pushed_at":"2021-03-29T12:54:32.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T15:34:11.871Z","etag":null,"topics":["camelcase","eslint","filenames","kebab-case","pascalcase","snake-case"],"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/benyasin.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":"2021-03-26T11:19:11.000Z","updated_at":"2021-09-01T06:13:36.000Z","dependencies_parsed_at":"2022-09-14T15:01:59.395Z","dependency_job_id":null,"html_url":"https://github.com/benyasin/eslint-plugin-filename","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/benyasin/eslint-plugin-filename","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyasin%2Feslint-plugin-filename","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyasin%2Feslint-plugin-filename/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyasin%2Feslint-plugin-filename/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyasin%2Feslint-plugin-filename/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benyasin","download_url":"https://codeload.github.com/benyasin/eslint-plugin-filename/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyasin%2Feslint-plugin-filename/sbom","scorecard":{"id":233926,"data":{"date":"2025-08-11","repo":{"name":"github.com/benyasin/eslint-plugin-filename","commit":"c8446669c6af678d187e98b5ca7bcf774278b5d1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"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":"Code-Review","score":0,"reason":"Found 0/8 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":"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":"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":"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":"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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-17T05:16:36.946Z","repository_id":57229853,"created_at":"2025-08-17T05:16:36.946Z","updated_at":"2025-08-17T05:16:36.946Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006611,"owners_count":26084148,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"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":["camelcase","eslint","filenames","kebab-case","pascalcase","snake-case"],"created_at":"2024-10-10T12:53:07.029Z","updated_at":"2025-10-11T08:33:38.139Z","avatar_url":"https://github.com/benyasin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-plugin-filename\n\nAdds an ESLint rule to enforce filename conventions for linted files. Allows different options for different file extensions. Supports custom regular expressions.\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Build Status][travis-image]][travis-url]\n[![Coverage Status][coverage-image]][coverage-url]\n[![License: MIT][license-image]][license-url]\n\n\n## Installation\n\n```bash\n$ npm install -D eslint-plugin-filename\n```\n\nThe following built-in values are supported: `pascalcase`/`PascalCase`, `camelcase`/`camelCase`, `snakecase`/`snake_case`, `kebabcase`/`kebab-case`.\nMultiple built-in values passed as array are also supported.\n\nAdd it to your `.eslintrc.js`:\n\n```js\nmodule.exports = {\n  plugins: [\n    'filename',\n  ],\n  rules: {\n    'filename/match': [2, 'camelcase'],\n  },\n};\n```\n\nor\n\n```js\nmodule.exports = {\n  plugins: [\n    'filename',\n  ],\n  rules: {\n    'filename/match': [2, ['camelcase','pascalcase']],\n  },\n};\n```\n\n## Plugin Options\n\nYou can also provide your own regex, if you are using your own regex, do not pass them as array.\n\n```js\n'filename/match': [2, /^([a-z]+-)*[a-z]+(?:\\..*)?$/],\n```\n\nYou can also specify different options for different file extensions. In this case the plugin will only check files with extensions you explicitly provided:\n\n```js\n'filename/match': [2, { '.js': 'camelCase', '.ts': /^([a-z]+-)*[a-z]+(?:\\..*)?$/ }],\n```\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/eslint-plugin-filename.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/eslint-plugin-filename\n[downloads-image]: https://img.shields.io/npm/dm/eslint-plugin-filename.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/eslint-plugin-filename\n[travis-image]: https://img.shields.io/travis/dolsem/eslint-plugin-filename.svg?style=flat-square\n[travis-url]: https://travis-ci.org/dolsem/eslint-plugin-filename\n[coverage-image]: https://img.shields.io/coveralls/dolsem/eslint-plugin-filename.svg?style=flat-square\n[coverage-url]: https://coveralls.io/github/dolsem/eslint-plugin-filename?branch=master\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square\n[license-url]: https://opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenyasin%2Feslint-plugin-filename","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenyasin%2Feslint-plugin-filename","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenyasin%2Feslint-plugin-filename/lists"}