{"id":15198358,"url":"https://github.com/eslint/eslint-cli","last_synced_at":"2025-10-02T13:31:19.139Z","repository":{"id":45995879,"uuid":"42825290","full_name":"eslint/eslint-cli","owner":"eslint","description":"The local eslint executor.","archived":true,"fork":false,"pushed_at":"2021-11-22T02:49:30.000Z","size":43,"stargazers_count":57,"open_issues_count":0,"forks_count":16,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-04-14T07:42:14.247Z","etag":null,"topics":["cli","cli-command","eslint","npm","npm-module","npm-package"],"latest_commit_sha":null,"homepage":null,"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/eslint.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}},"created_at":"2015-09-20T18:59:32.000Z","updated_at":"2023-10-26T23:37:47.000Z","dependencies_parsed_at":"2022-07-20T05:47:28.098Z","dependency_job_id":null,"html_url":"https://github.com/eslint/eslint-cli","commit_stats":null,"previous_names":["mysticatea/eslint-cli"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eslint%2Feslint-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eslint%2Feslint-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eslint%2Feslint-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eslint%2Feslint-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eslint","download_url":"https://codeload.github.com/eslint/eslint-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867298,"owners_count":16554316,"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":["cli","cli-command","eslint","npm","npm-module","npm-package"],"created_at":"2024-09-28T01:03:53.136Z","updated_at":"2025-10-02T13:31:14.117Z","avatar_url":"https://github.com/eslint.png","language":"JavaScript","readme":":warning: This package is no longer necessary. Use the built-in [`npx`](https://docs.npmjs.com/cli/v8/commands/npx) command instead.\n\n```sh\nnpm install --save-dev eslint\nnpx eslint src\n```\n\n---\n\n# eslint-cli\n\n[![npm version](https://img.shields.io/npm/v/eslint-cli.svg)](https://www.npmjs.com/package/eslint-cli)\n[![Downloads/month](https://img.shields.io/npm/dm/eslint-cli.svg)](http://www.npmtrends.com/eslint-cli)\n[![Dependency Status](https://david-dm.org/eslint/eslint-cli.svg)](https://david-dm.org/eslint/eslint-cli)\n\nThe local [ESLint] executor.\n\n## ⤴️ Motivation\n\nESLint recommends that we install ESLint into project-local rather than global.\n\n    $ npm install --save-dev eslint\n\nIn that case, there are many merits, but `eslint` CLI command is not available.\n\n    # This is error:\n    $ eslint src\n\n    # So you have to use:\n    $ ./node_modules/.bin/eslint src\n\nIt's inconvenient a bit. This package gives you `eslint` CLI command which runs local installed ESLint.\n\n## 💿 Installation\n\nUse [npm] to install.\n\n    $ npm install -g eslint-cli\n\n**Note:**\n\n- The `eslint` package must not be installed into global.\n- This package must be installed into global.\n\n## 📖 Usage\n\nFirst, install the `eslint` package into project-local.\n\n    $ npm install --save-dev eslint\n\nNext, use `eslint` CLI command.\n\n    $ eslint src\n\nThe command runs the global-installed `eslint-cli`, then it finds and runs the local-installed `eslint`.\n\nThat's all. Enjoy!\n\n## 📰 Change logs\n\n- See [GitHub releases](https://github.com/eslint/eslint-cli/releases)\n\n## 🍻 Contributing\n\nContributing is welcome!\n\nPlease use issues/PRs of GitHub.\n\n[eslint]: http://eslint.org/\n[npm]: https://www.npmjs.com/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feslint%2Feslint-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feslint%2Feslint-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feslint%2Feslint-cli/lists"}