{"id":18925962,"url":"https://github.com/murshidazher/eslint-config-react","last_synced_at":"2026-04-18T11:02:43.833Z","repository":{"id":57128762,"uuid":"382521787","full_name":"murshidazher/eslint-config-react","owner":"murshidazher","description":"📦  🛠️   shareable eslint-react configuration","archived":false,"fork":false,"pushed_at":"2022-12-30T20:18:54.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-07T02:59:21.943Z","etag":null,"topics":["config","configurations","eslint","eslint-config","eslint-react","npm","package","shareable"],"latest_commit_sha":null,"homepage":"http://npm.im/@murshidazher/eslint-config-react","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/murshidazher.png","metadata":{"files":{"readme":"README.MD","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.MD","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-03T04:10:27.000Z","updated_at":"2022-12-30T20:17:58.000Z","dependencies_parsed_at":"2023-01-31T15:45:36.442Z","dependency_job_id":null,"html_url":"https://github.com/murshidazher/eslint-config-react","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/murshidazher/eslint-config-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murshidazher%2Feslint-config-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murshidazher%2Feslint-config-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murshidazher%2Feslint-config-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murshidazher%2Feslint-config-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murshidazher","download_url":"https://codeload.github.com/murshidazher/eslint-config-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murshidazher%2Feslint-config-react/sbom","scorecard":{"id":668448,"data":{"date":"2025-08-11","repo":{"name":"github.com/murshidazher/eslint-config-react","commit":"e310ea57c453f1364136a578afbdfa1bf8f5edb7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"Code-Review","score":0,"reason":"Found 0/17 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":"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/murshidazher/eslint-config-react/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/murshidazher/eslint-config-react/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/murshidazher/eslint-config-react/release.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"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":"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: LICENCE:0","Info: FSF or OSI recognized license: MIT License: LICENCE: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":"Vulnerabilities","score":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","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-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","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-21T19:02:46.943Z","repository_id":57128762,"created_at":"2025-08-21T19:02:46.943Z","updated_at":"2025-08-21T19:02:46.943Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31966217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["config","configurations","eslint","eslint-config","eslint-react","npm","package","shareable"],"created_at":"2024-11-08T11:13:57.254Z","updated_at":"2026-04-18T11:02:43.782Z","avatar_url":"https://github.com/murshidazher.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [@murshidazher/eslint-config-react](https://github.com/murshidazher/eslint-config-react) [![npm](https://img.shields.io/npm/v/@murshidazher/eslint-config-react.svg?label=\u0026color=0080FF)](https://github.com/murshidazher/eslint-config-react/releases/latest)\n\n![build: github workflow](https://img.shields.io/github/actions/workflow/status/murshidazher/eslint-config-react/release.yml?style=flat-square)\n![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)\n\n\u003e An opinionated eslint configuration to make linting a 🌬️. **Accepting PRs**\n\n- ESLint configuration for React Project.\n- Easy to install and configure, ant it follows the best code standards from airbnb.\n- Integrated with [@murshidazher/prettier-config](https://github.com/murshidazher/prettier-config) configuration for code formatting.\n\n## Table of Contents\n\n- [@murshidazher/eslint-config-react ](#murshidazhereslint-config-react-)\n  - [Table of Contents](#table-of-contents)\n  - [Purpose](#purpose)\n  - [Installation](#installation)\n    - [Option 1: NPM](#option-1-npm)\n    - [Option 2: YARN](#option-2-yarn)\n  - [How to use](#how-to-use)\n  - [Extending](#extending)\n  - [Commit Hook](#commit-hook)\n  - [Contributors](#contributors)\n  - [Contributing](#contributing)\n  - [License](#license)\n\n## Purpose\n\nThis configuration uses airbnb and Prettier configuration plus some extra rules that we find handy for *React* applications.\n\nFor more information you can check [eslint](https://eslint.org/) and [prettier](https://prettier.io/) documentations as well the [airbnb](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb) and [prettier configurations](https://github.com/prettier/eslint-config-prettier)  for more information.\n\nThis package integrates the Prettier rules with ESLint using our configuration. You can check it at [@murshidazher/prettier-configuration](https://github.com/murshidazher/prettier-config)\n\n## Installation\n\nYou need ESLint and Prettier installed as development dependencies on your project. You can install them by using either **npm** or **yarn**.\n\n### Option 1: NPM\n\nIf you use **npm** as the package manager,\n\n```sh\nnpm install -D eslint prettier\n```\n\nInstall all peer dependencies of our configuration, these can be listed by the command:\n\n```sh\nnpm info \"@murshidazher/eslint-config-react@latest\" peerDependencies\n```\n\nIf running *npm \u003e v5* you install them by:\n\n```sh\nnpx install-peerdeps --dev @murshidazher/eslint-config-react\n```\n\nIf *npm \u003c v5*, Linux/OSX users can run:\n\n```sh\n(\n  export PKG=@murshidazher/eslint-config-react;\n  npm info \"$PKG@latest\" peerDependencies --json | command sed 's/[\\{\\},]//g ; s/: /@/g' | xargs npm install --save-dev \"$PKG@latest\"\n)\n```\n\n### Option 2: YARN\n\nIf you use **yarn** as the package manager,\n\n```sh\nyarn add eslint prettier -D\n```\n\nInstall the peer dependencies tool, by running:\n\n```sh\nyarn global add install-peerdeps\n```\n\nand after that run the following command to install the project's config:\n\n```sh\ninstall-peerdeps @murshidazher/eslint-config-react\n```\n\n## How to use\n\nTo configure add the following to your `package.json` file,\n\n```json\n\n\"eslintConfig\": {\n  \"extends\": \"@murshidazher/react\",\n},\n\"prettier\": \"@murshidazher/prettier-config\"\n```\n\n## Extending\n\nThis configuration is not intended to be changed, but if you have a setup where modification is required, it is possible. Prettier does not offer an \"extends\" mechanism as you might be familiar from tools such as ESLint.\n\nTo extend a configuration you will need to create a `.eslintrc.js` and `.prettierrc.js` or `prettier.config.js` files:\n\n```js\n//.eslintrc\n{\n  \"root\": true,\n  \"extends\": \"@murshidazher/react\"\n  // more configuration options goes here!\n}\n\n// .prettierrc.js\nmodule.exports = {\n    ...require('@murshidazher/prettier-config'),\n    semi: false\n    // more configuration options goes here!\n};\n```\n\nFinally, you can add this scripts to your `package.json` file,\n\n```json\n\"lint\": \"eslint ./ --ignore-path .gitignore\",\n\"lint:fix\": \"npm run lint -- --fix\",\n\"format\": \"prettier --write \\\"{,!(node_modules)/**/}*.js\\\"\"\n```\n\n## Commit Hook\n\nIf you need to add a pre-commit hook for linting,\n\n```sh\nnpm install -D husky lint-staged\n```\n\n```json\n// package.json\n\"lint-staged\": {\n  \"*.{js,css,html}\": [\n    \"yarn run lint:fix\",\n    \"yarn run format\",\n    \"git add\"\n  ]\n},\n```\n\n## Contributors\n\n[![contributors](https://contrib.rocks/image?repo=murshidazher/eslint-config-react)](https://github.com/murshidazher/eslint-config-react/graphs/contributors)\n\n## Contributing\n\nHow to [contribute](/CONTRIBUTING.MD) to this open source library\n\n## License\n\nCopyright © 2020-2021 [Murshid Azher](https://murshidazher.com). This library is licensed under the [MIT](./LICENCE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurshidazher%2Feslint-config-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurshidazher%2Feslint-config-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurshidazher%2Feslint-config-react/lists"}