{"id":50074075,"url":"https://github.com/rainforestapp/eslint-config-rainforest","last_synced_at":"2026-05-22T04:19:33.120Z","repository":{"id":5587442,"uuid":"53497049","full_name":"rainforestapp/eslint-config-rainforest","owner":"rainforestapp","description":"The Rainforest eslint config","archived":false,"fork":false,"pushed_at":"2025-05-01T00:16:41.000Z","size":156,"stargazers_count":0,"open_issues_count":5,"forks_count":2,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-10-21T10:35:52.183Z","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/rainforestapp.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,"zenodo":null}},"created_at":"2016-03-09T12:46:23.000Z","updated_at":"2025-05-01T00:15:23.000Z","dependencies_parsed_at":"2025-04-30T00:34:47.774Z","dependency_job_id":null,"html_url":"https://github.com/rainforestapp/eslint-config-rainforest","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rainforestapp/eslint-config-rainforest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainforestapp%2Feslint-config-rainforest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainforestapp%2Feslint-config-rainforest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainforestapp%2Feslint-config-rainforest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainforestapp%2Feslint-config-rainforest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rainforestapp","download_url":"https://codeload.github.com/rainforestapp/eslint-config-rainforest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainforestapp%2Feslint-config-rainforest/sbom","scorecard":{"id":759491,"data":{"date":"2025-08-11","repo":{"name":"github.com/rainforestapp/eslint-config-rainforest","commit":"4d79cddb3e3cfe44cf49f32edb600b3959152b76"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"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":"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":"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":"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":"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":"Code-Review","score":4,"reason":"Found 5/12 approved changesets -- score normalized to 4","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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","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-22T22:53:46.851Z","repository_id":5587442,"created_at":"2025-08-22T22:53:46.851Z","updated_at":"2025-08-22T22:53:46.851Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33328914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"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":"2026-05-22T04:19:30.322Z","updated_at":"2026-05-22T04:19:33.096Z","avatar_url":"https://github.com/rainforestapp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eslint Config at Rainforest\n\nTo install the eslint plugin simply execute in your terminal:\n\n`yarn add -DE @rainforestqa/eslint-config eslint @babel/core @babel/eslint-parser eslint-plugin-babel eslint-plugin-import eslint-plugin-jsx-a11y prettier`\n\nIn your eslint configuration, add `@rainforestqa/eslint-config` to `extends`\n\nImport the prettier config (`prettier.config.js`) as outlined in [sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations)\n\noptional:\n\nIf using react:\n`yarn add -DE eslint-plugin-react`\n\nIn your eslint configuration, add `@rainforestqa/eslint-config/react` to `extends`\n\nIf using flow:\n`yarn add -DE eslint-plugin-flowtype`\n\nIn your eslint configuration, add `@rainforestqa/eslint-config/flow` to `extends`\n\n# Editor configuration\n\n## VSCode\n\nInstall the [eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and [prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) extensions\nadd these to your settings file:\n\n```\n{\n  \"javascript.validate.enable\": false, // turn off vscode's built in linter because it doesn't follow our eslint config\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll\": true // unless you want to manually fix the lint errors\n  },\n  \"editor.tabSize\": 2, // will conflict with prettier otherwise\n  \"editor.wordWrapColumn\": 120,\n  \"css.validate\": false, // not working for css modules currently\n  \"editor.defaultFormatter\": \"esbenp.prettier-vscode\",\n  \"editor.formatOnSave\": true\n}\n```\n\nAlso in projects that use flow, it's useful to install [flow for vscode](https://github.com/flowtype/flow-for-vscode)\n\n## Webstorm\n\nThe setup should be picked up automatically from the repository's `.eslint.rc.*` and `package.json`. Here is where to look in case something doesn't work as expected:\n**Eslint** - Choose `Webstorm / Preferences` from the main menu and type `eslint` into the seach bar, this will show up all related config sections:\n\n1. `Languages \u0026 Frameworks / JavaScript / Code Quality Tools / ESLint` is the main lint config section. Make sure the `Enable` checkbox on top is checked, the Node interpreter is set to the Project node version, and the ESLint package is from the local `node_modules` folder. The `Automatic search` option from the `Configuration file` section is working fine for most scenarios.\n2. `Keymap` allows you to setup key shortcuts for fixing lint problems.\n\n**Prettier** - An official Prettier plugin is available starting from version 2018.1. Again go to Preferences but write `prettier` this time. The configuration is under `Languages \u0026 Frameworks / JavaScript / Prettier` and the only thing you can do is to point the IDE to the related package folder.\n\n# Versioning Policy\n\n- **Patch** release (x.y.z -\u003e x.y.z+1): bugfixes and tooling updates mean that code that previously passed linting **should** continue to pass after the update.\n\n- **Minor** release (x.y.z -\u003e x.y+1.0): a change to an existing rule means that code that previously failed linting **may** now pass, or a new configuration means that code that previously passed linting **should** continue to pass.\n\n- **Major** release (x.y.z -\u003e x+1.0.0): a new rule, or a change to an existing rule, means that code that previously passed linting **will not** pass any more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainforestapp%2Feslint-config-rainforest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frainforestapp%2Feslint-config-rainforest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainforestapp%2Feslint-config-rainforest/lists"}