{"id":16368007,"url":"https://github.com/ephys/eslint-config","last_synced_at":"2025-03-21T01:31:11.757Z","repository":{"id":37855422,"uuid":"71693731","full_name":"ephys/eslint-config","owner":"ephys","description":"ESLint configuration for the foobarhq javascript style guide.","archived":false,"fork":false,"pushed_at":"2024-04-11T19:42:21.000Z","size":1602,"stargazers_count":4,"open_issues_count":10,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-14T13:10:18.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@ephys/eslint-config","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/ephys.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2016-10-23T09:38:04.000Z","updated_at":"2024-04-22T18:29:02.702Z","dependencies_parsed_at":"2024-04-22T18:28:58.701Z","dependency_job_id":"18e29277-ab57-441e-b5a3-5f876202ef2e","html_url":"https://github.com/ephys/eslint-config","commit_stats":{"total_commits":187,"total_committers":7,"mean_commits":"26.714285714285715","dds":0.6042780748663101,"last_synced_commit":"c12f86cdedb58ed6ff6b57aee749b102f1c602dc"},"previous_names":["foobarhq/eslint-config-foobarhq"],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ephys%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ephys%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ephys%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ephys%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ephys","download_url":"https://codeload.github.com/ephys/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221810749,"owners_count":16884186,"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-10-11T02:51:25.133Z","updated_at":"2024-10-28T08:59:42.441Z","avatar_url":"https://github.com/ephys.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @ephys/eslint-config\n\nCustom-built ESLint configuration designed for use in ESM, CJS, TypeScript, Vanilla JS, React \u0026 Node.\n\nThis preset includes some stylistic rules, but it's mostly focused on catching bugs and enforcing best practices.\nAny rule that conflicts with Prettier are not included.\nThis preset is designed to be used with Prettier and `prettier-plugin-organize-imports`.\n\n## Usage\n\n- Install using `npm i -D @ephys/eslint-config` or `npm i -D @ephys/eslint-config-typescript`\n- Create a `.eslintrc` file containing the following:\n  ```json5\n  {\n    \"extends\": [\n      // add this if you're using Vanilla JS.\n      \"@ephys/eslint-config\",\n      // or this if you're using TypeScript.\n      // This one also supports vanilla JS files!\n      \"@ephys/eslint-config-typescript\"\n    ]\n  }\n  ```\n\n## Presets\n\nWe have more than one preset available for our different environments. \nYou can enable these variants by inheriting from more of our configuration presets.\n\nThe following presets files are available:\n\n- `@ephys/eslint-config/browser`: Enable browser environment.\n- `@ephys/eslint-config/react`: Turn on react-specific rules.\n- `@ephys/eslint-config/node`: Enable node environment.\n- `@ephys/eslint-config/jest`: Enable jest-specific rules.\n- `@ephys/eslint-config/commonjs`: We assume ESM. Use this preset to require commonjs instead. \n  Note that you only need to this preset to treat `.js` files as CJS. `.cjs` files will already be treated as CJS.\n\nNote: All of these presets are also available from `@ephys/eslint-config-typescript/\u003cpreset\u003e`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fephys%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fephys%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fephys%2Feslint-config/lists"}