{"id":38595439,"url":"https://github.com/htmlacademy/editorconfig-cli","last_synced_at":"2026-01-17T08:27:27.620Z","repository":{"id":57116655,"uuid":"67125458","full_name":"htmlacademy/editorconfig-cli","owner":"htmlacademy","description":"Command line interface (CLI) for .editorconfig (http://editorconfig.org)","archived":false,"fork":false,"pushed_at":"2024-08-31T14:44:01.000Z","size":475,"stargazers_count":21,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T04:16:59.165Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/htmlacademy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-01T11:29:28.000Z","updated_at":"2025-10-15T03:44:06.000Z","dependencies_parsed_at":"2022-09-16T13:11:13.888Z","dependency_job_id":"18fbb7e7-3a70-482c-ab57-24c03f5e6b06","html_url":"https://github.com/htmlacademy/editorconfig-cli","commit_stats":null,"previous_names":["zeckson/editorconfig-cli"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/htmlacademy/editorconfig-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Feditorconfig-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Feditorconfig-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Feditorconfig-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Feditorconfig-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/htmlacademy","download_url":"https://codeload.github.com/htmlacademy/editorconfig-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Feditorconfig-cli/sbom","scorecard":{"id":471155,"data":{"date":"2025-08-11","repo":{"name":"github.com/htmlacademy/editorconfig-cli","commit":"4b2b5eb58062fc4b7a8664d35f5c7da951d74313"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/25 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":"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":"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":"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":"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":"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":"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":"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 12 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":6,"reason":"4 existing vulnerabilities detected","details":["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"],"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-19T13:55:06.202Z","repository_id":57116655,"created_at":"2025-08-19T13:55:06.202Z","updated_at":"2025-08-19T13:55:06.202Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: 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":[],"created_at":"2026-01-17T08:27:26.816Z","updated_at":"2026-01-17T08:27:27.600Z","avatar_url":"https://github.com/htmlacademy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# editorconfig-cli\n\n[![Vulnerabilities count][vulnerabilities-image]][vulnerabilities-url]\n\nSimple command line interface (CLI) for [.editorconfig](https://editorconfig.org) based on the node-lintspaces module.\n\nUses `.editorconfig` by default from current directory. To change default location use `-e` argument.\nSupports [GLOB format](https://github.com/isaacs/node-glob).\n\n## Install\n\nGlobaly:\n\n```shell\nnpm i -g @htmlacademy/editorconfig-cli\n```\n\nOr localy in the project:\n\n```shell\nnpm i -D @htmlacademy/editorconfig-cli\n```\n\n## Help\n\n```shell\n$ npx editorconfig-cli --help\n\n  Usage: editorconfig-cli [options] \u003cfile ... or 'glob'\u003e\n\n  Options:\n  -e, --editorconfig \u003cfile\u003e                   pass configuration file.\n                                              !Warning! absolute paths are not supported or will break on Windows OS. (default: \".editorconfig\")\n  -i, --ignores \u003cprofile-name or regexp...\u003e   ignoring profiles. Like ('js-comments'|'java-comments'|'xml-comments'|'html-comments'|...). (default: [\"js-comments\",\"html-comments\"])\n  -j, --json \u003cfile\u003e                           load GLOBs from JSON file. If no input passed, then it tries to find array in package.json (default: \"package.json\")\n  -x, --exclude \u003cregexp...\u003e                   exclude files by patterns. (default: [`.*\\\\.min\\\\..*`])\n  -v, --verbose                               verbose output\n  -h, --help                                  display help for command\n```\n\n## Example Commands\n\nCheck all files in the project except those with the `.min.` suffix and listed in `./.gitignore`, using `./.editorconfig` as the settings:\n\n```shell\neditorconfig-cli\n```\n\nThe same as above, but only JavaScript files:\n\n```shell\neditorconfig-cli **/*.js\n```\n\nThe same as above, but with [GLOB format](https://github.com/isaacs/node-glob):\n\n```shell\neditorconfig-cli '**/*.js'\n```\n\nLoad GLOBs from `package.json`:\n\n```shell\neditorconfig-cli\n```\n\nFormat of JSON with GLOBs:\n\nFile: `glob.json`\n\n```json\n{\n  \"editorconfig-cli\": [\n    \"./*.html\",\n    \"./*.json\",\n    \"./img/**/*.svg\",\n    \"./js/**/*.js\",\n    \"./less/**/*.less\",\n    \"./sass/**/*.{sass,scss}\",\n    \"./postcss/**/*.{css,pcss}\"\n  ]\n}\n```\n\nPass `glob.json` to CLI:\n\n```shell\neditorconfig-cli -j glob.json\n```\n\n## Ignores\n\nlintspaces supports [built-in ignores](https://github.com/schorfES/node-lintspaces#ignores-option).\n\nUsing built in ignores can be done like so:\n\n```shell\neditorconfig-cli -i 'js-comments' -i 'c-comments'\n```\n\nIf parameters are omitted, then `js-comments` and `html-comments` are used.\n\n[vulnerabilities-url]: https://snyk.io/test/github/htmlacademy/editorconfig-cli\n[vulnerabilities-image]: https://snyk.io/test/github/htmlacademy/editorconfig-cli/badge.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlacademy%2Feditorconfig-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhtmlacademy%2Feditorconfig-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlacademy%2Feditorconfig-cli/lists"}