{"id":20838397,"url":"https://github.com/reload/eslint","last_synced_at":"2026-04-20T18:32:20.417Z","repository":{"id":42630613,"uuid":"388466004","full_name":"reload/eslint","owner":"reload","description":"A Reload opinionated way of making sure our JS code is up to snuff.","archived":false,"fork":false,"pushed_at":"2025-08-01T12:49:20.000Z","size":450,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-01T21:35:25.570Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reload.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-07-22T13:08:08.000Z","updated_at":"2025-08-01T12:49:23.000Z","dependencies_parsed_at":"2025-03-12T09:53:09.457Z","dependency_job_id":null,"html_url":"https://github.com/reload/eslint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reload/eslint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Feslint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Feslint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Feslint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Feslint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reload","download_url":"https://codeload.github.com/reload/eslint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Feslint/sbom","scorecard":{"id":769961,"data":{"date":"2025-08-11","repo":{"name":"github.com/reload/eslint","commit":"8d4308f092378e470908c4a889e827d0a4342b6f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"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":"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":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","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/10 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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 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":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","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-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"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-23T01:57:23.166Z","repository_id":42630613,"created_at":"2025-08-23T01:57:23.166Z","updated_at":"2025-08-23T01:57:23.166Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32059757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"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":[],"created_at":"2024-11-18T01:10:09.660Z","updated_at":"2026-04-20T18:32:20.399Z","avatar_url":"https://github.com/reload.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![eslint_reload](https://figmage.com/images/d1DoKVVzCQRk3FKp12IT7.png)\n\n# JavaScript the Reload way\n\nA [Reload](https://reload.dk/) opinionated way of making sure our JS code is up to snuff.\n\n## Usage\n\n### Install\n\nInstall `eslint-plugin-reload`.\n\n```sh\nnpm install eslint-plugin-reload --save-dev\n```\n\nIf using npm before v7, install the required peer dependecies. v7 and beyond auto\ninstalls the peer dependencies.\n\nCreate these two files alongside your `package.json` file.\n\n### .prettierrc.json\n\n```json\n{}\n```\n\n### .eslintrc.json\n\n```json\n{\n  \"extends\": [\"plugin:reload/recommended\"]\n}\n```\n\nSpin this badboy up and point eslint and prettier towards your JS files.\n\n#### Lint\n\n```sh\nnpx eslint \"**/*.js\" \u0026\u0026 npx prettier \"**/*.js\" --check\n```\n\n#### Format\n\n```sh\nnpx eslint \"**/*.js\" --fix \u0026\u0026 npx prettier \"**/*.js\" --write\n```\n\n## Environment\n\nRemember to define in your `.eslintrc.json` configuration which environments\nyour code is supposed to support.\n\n```json\n  \"extends\": [\"plugin:reload/recommended\"],\n  \"env\": {\n    \"browser\": true,\n    \"node\": true\n  }\n```\n\nIf not you will get a lot of [no-undef](https://eslint.org/docs/rules/no-undef)\nerrors on ex. `window` and `console` variables.\n\n## Additional rules\n\nWanting to add additional rules is straightforward.\n\n### [.eslintrc.json](https://eslint.org/docs/rules/)\n\n```json\n{\n  \"extends\": [\"plugin:reload/recommended\"],\n  \"rules\": {\n    \"no-console\": 1\n  }\n}\n```\n\nIf wanting to extend the `eslint-plugin-reload` we need to re-apply\nthe prettier `eslint-config-prettier` configuration that turns off all\neslint rules that is prettiers responsability.\n\nImagine we wanted to apply the Github JS guidelines we would have to install\ntheir config, extend from it and then make sure to append `eslint-config-prettier`.\n\n```sh\nnpm install eslint-plugin-github eslint-config-prettier --save-dev\n```\n\n```json\n{\n  \"extends\": [\n    \"plugin:reload/recommended\",\n    \"plugin:github/recommended\",\n    \"eslint-config-prettier\"\n  ]\n}\n```\n\n## TypeScript\n\nAll of the above applies but instead of `recommended` we expose a specific\n`reload/typescript` config that also includes everything from `reload/recommended`.\n\n```json\n{\n  \"extends\": [\"plugin:reload/typescript\"]\n}\n```\n\n## Drupal\n\nThere is some globals you would want to include when doing Drupal development.\nThis is done via. adding `plugin:reload/drupal` at the end.\n\n```json\n{\n  \"extends\": [\"plugin:reload/recommended\", \"plugin:reload/drupal\"]\n}\n```\n\n## Editor integration\n\nThe `editor_integration` directory is an example of smart editor integration\nthat will help you with code quality and code style on save.\nThe equivelant can be configured for additional editors.\nPR's are encouraged to broaden the example support.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Feslint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freload%2Feslint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Feslint/lists"}