{"id":13463211,"url":"https://github.com/rustcohlnikov/eslint-config-sec","last_synced_at":"2025-03-25T06:31:38.310Z","repository":{"id":57229117,"uuid":"215237853","full_name":"rustcohlnikov/eslint-config-sec","owner":"rustcohlnikov","description":"🔒 Linting rules for safe and secure client code","archived":false,"fork":false,"pushed_at":"2019-10-15T11:06:24.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T14:36:38.707Z","etag":null,"topics":["eslint","fe-sec","linter","security"],"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/rustcohlnikov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-15T07:44:34.000Z","updated_at":"2022-09-24T15:25:04.000Z","dependencies_parsed_at":"2022-09-14T14:50:26.175Z","dependency_job_id":null,"html_url":"https://github.com/rustcohlnikov/eslint-config-sec","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustcohlnikov%2Feslint-config-sec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustcohlnikov%2Feslint-config-sec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustcohlnikov%2Feslint-config-sec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustcohlnikov%2Feslint-config-sec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustcohlnikov","download_url":"https://codeload.github.com/rustcohlnikov/eslint-config-sec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245413945,"owners_count":20611354,"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","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":["eslint","fe-sec","linter","security"],"created_at":"2024-07-31T13:00:48.151Z","updated_at":"2025-03-25T06:31:37.462Z","avatar_url":"https://github.com/rustcohlnikov.png","language":"JavaScript","funding_links":[],"categories":["Code"],"sub_categories":["Linters"],"readme":"# :umbrella: eslint-config-sec\n![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\n![License](https://img.shields.io/npm/l/eslint-config-sec?style=flat-square)\n![Dependencies](https://img.shields.io/david/peer/rustcohlnikov/eslint-config-sec?style=flat-square)\n[![Chat on Gitter](https://img.shields.io/gitter/room/fe-sec/community)](https://gitter.im/fe-sec/community)\n\nLinting rules for safe and secure client code\n\n# Rules included\nExtends `eslint-plugin-no-unsanitized`, see [documentation](https://github.com/mozilla/eslint-plugin-no-unsanitized/tree/master/docs/rules).\n\nAdditional rules:\n* `no-eval` - eval('evil code')\n* `no-implied-eval` - same as eval\n* `radix` - parseInt('12345', 10) without radix\n* `no-debugger` - disallow debugger; in code\n* `no-new-func` - new Function('evil code')\n\n# Usage\n1. Install the config:\n\n```bash\n\nnpm i -D eslint-config-sec\n```\n\n2. Add config to the `extends` section on your `.eslintrc.js` file:\n\n```diff\n\"extends\": [\n+  \"eslint-config-sec\"\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustcohlnikov%2Feslint-config-sec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustcohlnikov%2Feslint-config-sec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustcohlnikov%2Feslint-config-sec/lists"}