{"id":19291840,"url":"https://github.com/hirosystems/eslint-config","last_synced_at":"2025-04-12T03:41:30.750Z","repository":{"id":42901887,"uuid":"249009575","full_name":"hirosystems/eslint-config","owner":"hirosystems","description":"A set of re-usable ESLint configuration for Blockstack PBC projects","archived":false,"fork":false,"pushed_at":"2024-11-11T23:10:41.000Z","size":403,"stargazers_count":3,"open_issues_count":4,"forks_count":1,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-06T00:27:48.768Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hirosystems.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-03-21T15:55:35.000Z","updated_at":"2024-11-11T22:15:12.000Z","dependencies_parsed_at":"2024-06-18T22:57:30.115Z","dependency_job_id":null,"html_url":"https://github.com/hirosystems/eslint-config","commit_stats":null,"previous_names":["blockstack/eslint-config"],"tags_count":2,"template":false,"template_full_name":"stacks-network/.github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirosystems","download_url":"https://codeload.github.com/hirosystems/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514217,"owners_count":21116899,"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-09T22:28:06.026Z","updated_at":"2025-04-12T03:41:30.729Z","avatar_url":"https://github.com/hirosystems.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @stacks/eslint-config\n\nA set of ESLint configuration and rules for use in Stacks projects.\n\n## Installation\n\n```bash\nyarn add --dev eslint @stacks/eslint-config\n# or, with npm\nnpm install --save-dev eslint @stacks/eslint-config\n```\n\nThen, create or modify your `.eslintrc.js` file to extend this config:\n\n```js\nmodule.exports = {\n  extends: '@stacks/eslint-config',\n  parser: '@typescript-eslint/parser',\n  parserOptions: {\n    tsconfigRootDir: __dirname,\n    project: ['./tsconfig.json'],\n    ecmaVersion: 2019,\n    sourceType: 'module',\n  },\n};\n```\n\nFinally, modify your `package.json` file to use our prettier config, which is already installed as a dependency of this package.\n\n```json\n{\n  \"prettier\": \"@stacks/prettier-config\"\n}\n```\n\n## Overriding rules\n\nThis configuration includes a bunch of rules that have become standard in our JavaScript projects. However, if you feel the need to override a rule, you can always do so by simply adding `rules` to your `.eslintrc.js` file.\n\n```js\nmodule.exports = {\n  extends: ['@stacks/eslint-config'],\n  rules: {\n    '@typescript-eslint/no-use-before-define': [2],\n  },\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirosystems%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirosystems%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirosystems%2Feslint-config/lists"}