{"id":14156100,"url":"https://github.com/npm/eslint-config","last_synced_at":"2025-09-10T16:39:21.641Z","repository":{"id":40535532,"uuid":"400300692","full_name":"npm/eslint-config","owner":"npm","description":"a base eslint config used by the npm CLI team","archived":false,"fork":false,"pushed_at":"2025-01-14T20:43:20.000Z","size":227,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-01-30T13:34:47.339Z","etag":null,"topics":["npm-cli"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/npm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-26T20:42:34.000Z","updated_at":"2025-01-14T20:43:22.000Z","dependencies_parsed_at":"2023-12-03T04:21:00.005Z","dependency_job_id":"38afee97-39a8-4515-ad61-ea57d7c39fe6","html_url":"https://github.com/npm/eslint-config","commit_stats":{"total_commits":62,"total_committers":6,"mean_commits":"10.333333333333334","dds":0.5483870967741935,"last_synced_commit":"9e87b58d9e049004c802239cab1fabbca67caf74"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/npm","download_url":"https://codeload.github.com/npm/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237253965,"owners_count":19279957,"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":["npm-cli"],"created_at":"2024-08-17T08:05:13.114Z","updated_at":"2025-02-05T06:32:12.431Z","avatar_url":"https://github.com/npm.png","language":"JavaScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"## @npmcli/eslint-config\n\nThis module contains eslint rules used by the npm CLI team. All rules are\nlisted in `index.js` at the root of this repo.\n\n### Usage\n\nTo facilitate having a single `.eslintrc.js` that can live untouched in every\nproject, we prefer to use a default config like:\n\n\n```js\nconst { readdirSync: readdir } = require('fs')\n\nconst localConfigs = readdir(__dirname)\n  .filter((file) =\u003e file.startsWith('.eslintrc.local.'))\n  .map((file) =\u003e `./${file}`)\n\nmodule.exports = {\n  extends: [\n    '@npmcli',\n    ...localConfigs,\n  ],\n}\n```\n\nThis allows any overrides for a project to exist in a separate file, typically\n`.eslintrc.local.json`.\n\n#### `bin`\n\nThis module also contains a bin script that will run `eslint` with the bundled config.\n\n```\nnpm i -D @npmcli/eslint-config\n\n# lint with our style rules\nnpx @npmcli/eslint-config -- # any args to eslint go here...`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpm%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnpm%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpm%2Feslint-config/lists"}