{"id":18782968,"url":"https://github.com/webex/ciscospark-eslint-config","last_synced_at":"2025-06-21T22:39:57.644Z","repository":{"id":75823134,"uuid":"94465520","full_name":"webex/ciscospark-eslint-config","owner":"webex","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-11T16:22:21.000Z","size":65,"stargazers_count":0,"open_issues_count":13,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-29T11:31:23.592Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-06-15T17:59:53.000Z","updated_at":"2018-09-11T16:22:19.000Z","dependencies_parsed_at":"2023-03-11T20:31:33.107Z","dependency_job_id":null,"html_url":"https://github.com/webex/ciscospark-eslint-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webex%2Fciscospark-eslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webex%2Fciscospark-eslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webex%2Fciscospark-eslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webex%2Fciscospark-eslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webex","download_url":"https://codeload.github.com/webex/ciscospark-eslint-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239699582,"owners_count":19682574,"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":"2024-11-07T20:37:38.916Z","updated_at":"2025-02-19T17:13:23.472Z","avatar_url":"https://github.com/webex.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @ciscospark/eslint-rules\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/ciscospark/ciscospark-eslint-config.svg)](https://greenkeeper.io/)\n\nSee https://ciscospark.github.io/spark-js-sdk/\n\nCommon eslint rules used by Cisco Spark\n\n## Installation\n\nEslint doesn't let us put plugins in shareable configs, so use the following command to install all peer dependencies needed by `@ciscospark/eslint-config`.\n\n```bash\n(\n  export PKG=@ciscospark/eslint-config\n  npm info \"$PKG@latest\" peerDependencies --json \\\n    | command sed 's/[\\{\\},]//g ; s/: /@/g' \\\n    | xargs npm install --save-dev \"$PKG@latest\"\n)\n```\n\nWhich produces and runs a command like:\n\nnpm install --save-dev @ciscospark/eslint-config eslint@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-mocha@^#.#.# eslint-plugin-react@^#.#.#\n\n## Usage\n\nBy default, we export a set of es2015 rules encouraging use of import/export. You can use this ruleset with simply\n\n```yaml\nextends: \"@ciscospark\"\n```\n\nAdditionally, you may be interested in:\n\n### ES5 Rules\n```yaml\nextends: \"@ciscospark/eslint-config/es5\"\nroot: true\n```\n### ES2015 rules without import/export\n```yaml\nextends: \"@ciscospark/eslint-config/es2015\"\nroot: true\n```\n### ES2015 with React additions\n```yaml\nextends:\n- \"@ciscospark\"\n- \"@ciscospark/eslint-config/react\"\nroot: true\n```\n\n### Mocha preset to avoid committing `.only`\n\u003e Note: this does not have a `root:true` so that you can drop in a subdirectory that will otherwise receive config from a higher-level file.\n```yaml\nextends: \"@ciscospark/eslint-config/mocha\"\n```\n### For writing scripts\n```yaml\nextends:\n- \"@ciscospark/eslint-config/es2015\"\n- \"@ciscospark/eslint-config/bin\"\nroot: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebex%2Fciscospark-eslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebex%2Fciscospark-eslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebex%2Fciscospark-eslint-config/lists"}