{"id":28376090,"url":"https://github.com/pre-commit/mirrors-eslint","last_synced_at":"2025-06-26T10:31:30.613Z","repository":{"id":20103960,"uuid":"23373539","full_name":"pre-commit/mirrors-eslint","owner":"pre-commit","description":"Mirror of eslint node package for pre-commit.","archived":false,"fork":false,"pushed_at":"2025-06-14T08:24:22.000Z","size":151,"stargazers_count":73,"open_issues_count":0,"forks_count":35,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-20T13:27:46.063Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"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/pre-commit.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null},"funding":{"github":"asottile","open_collective":"pre-commit","tidelift":"pypi/pre-commit"}},"created_at":"2014-08-27T02:02:46.000Z","updated_at":"2025-06-14T08:24:25.000Z","dependencies_parsed_at":"2023-02-09T21:30:34.525Z","dependency_job_id":"76e4ba21-9e52-48ef-a251-c3327df351a8","html_url":"https://github.com/pre-commit/mirrors-eslint","commit_stats":{"total_commits":386,"total_committers":7,"mean_commits":"55.142857142857146","dds":0.6424870466321244,"last_synced_commit":"b57b7398617489b9042a6561733d7eed33b331e2"},"previous_names":[],"tags_count":351,"template":false,"template_full_name":null,"purl":"pkg:github/pre-commit/mirrors-eslint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fmirrors-eslint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fmirrors-eslint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fmirrors-eslint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fmirrors-eslint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pre-commit","download_url":"https://codeload.github.com/pre-commit/mirrors-eslint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fmirrors-eslint/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261025998,"owners_count":23099094,"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":[],"created_at":"2025-05-30T00:05:24.502Z","updated_at":"2025-06-26T10:31:30.604Z","avatar_url":"https://github.com/pre-commit.png","language":null,"readme":"eslint mirror\n================\n\nMirror of eslint package for pre-commit.\n\nFor pre-commit: see https://github.com/pre-commit/pre-commit\n\nFor eslint: see https://github.com/eslint/eslint\n\n\n### Using eslint with pre-commit\n\nAdd this to your `.pre-commit-config.yaml`:\n\n```yaml\n-   repo: https://github.com/pre-commit/mirrors-eslint\n    rev: ''  # Use the sha / tag you want to point at\n    hooks:\n    -   id: eslint\n```\n\nWhen using plugins with `eslint` you'll need to declare them under\n`additional_dependencies`. For example:\n\n```yaml\n-   repo: https://github.com/pre-commit/mirrors-eslint\n    rev: ''  # Use the sha / tag you want to point at\n    hooks:\n    -   id: eslint\n        additional_dependencies:\n        -   eslint@4.15.0\n        -   eslint-config-google@0.7.1\n        -   eslint-loader@1.6.1\n        -   eslint-plugin-react@6.10.3\n        -   babel-eslint@6.1.2\n```\n\nBy default only `*.js` files are taken into consideration.\nIf you want to use eslint on TypeScript codebases you need\nto start from this template:\n\n```yaml\n-   repo: https://github.com/pre-commit/mirrors-eslint\n    rev: ''  # Use the sha / tag you want to point at\n    hooks:\n    -   id: eslint\n        files: \\.[jt]sx?$  # *.js, *.jsx, *.ts and *.tsx\n        types: [file]\n```\n","funding_links":["https://github.com/sponsors/asottile","https://opencollective.com/pre-commit","https://tidelift.com/funding/github/pypi/pre-commit"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpre-commit%2Fmirrors-eslint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpre-commit%2Fmirrors-eslint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpre-commit%2Fmirrors-eslint/lists"}