{"id":19223901,"url":"https://github.com/invoke-ai/code-quality-configs","last_synced_at":"2025-02-23T10:15:00.223Z","repository":{"id":219082166,"uuid":"747922918","full_name":"invoke-ai/code-quality-configs","owner":"invoke-ai","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-21T02:38:24.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-04T21:17:32.440Z","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/invoke-ai.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":"2024-01-24T22:47:15.000Z","updated_at":"2024-01-25T09:45:58.000Z","dependencies_parsed_at":"2025-01-04T21:27:41.355Z","dependency_job_id":null,"html_url":"https://github.com/invoke-ai/code-quality-configs","commit_stats":null,"previous_names":["invoke-ai/code-quality-configs"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invoke-ai%2Fcode-quality-configs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invoke-ai%2Fcode-quality-configs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invoke-ai%2Fcode-quality-configs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invoke-ai%2Fcode-quality-configs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/invoke-ai","download_url":"https://codeload.github.com/invoke-ai/code-quality-configs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240298487,"owners_count":19779283,"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-09T15:09:50.869Z","updated_at":"2025-02-23T10:15:00.156Z","avatar_url":"https://github.com/invoke-ai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Quality Configs\n\nA selection of code quality configs intended for use in Invoke's applications.\n\n- [eslint-config-react] An `eslint` config package.\n- [prettier-config-react] A `prettier` config package.\n- [ruff.toml] A `ruff` config template.\n- [pyrightconfig.json] A `pyright` config template.\n\n## Usage - Templates\n\nThe templates must be copied and pasted.\n\n## Usage - NPM Packages\n\nBe sure to install the peer dependencies.\n\nYou may need to add `auto-install-peers=true` to your `.npmrc` for this to happen automatically.\n\n### `eslint-config-react`\n\n1. Install the package.\n\n   ```sh\n   pnpm i -D @invoke-ai/eslint-config-react\n   ```\n\n2. Extend the config in your `eslint` config. You can then override any rules per usual.\n\n   ```js\n   // .eslintrc.cjs\n   module.exports = {\n     extends: ['@invoke-ai/eslint-config-react'],\n     rules: {\n       'i18next/no-literal-string': 'off', // no i18n here\n     },\n   };\n   ```\n\n### `prettier-config-react`\n\n1. Install the package.\n\n   ```sh\n   pnpm i -D @invoke-ai/prettier-config-react\n   ```\n\n2. Spread the config in your `prettier` config. You can then override any individual rules by specifying them after the spread.\n\n   ```js\n   // .prettierrc.cjs\n   module.exports = {\n     ...require('@invoke-ai/prettier-config-react'),\n     printWidth: 9001, // slightly increase printWidth\n   };\n   ```\n\n[eslint-config-react]: ./packages/eslint-config-react/\n[prettier-config-react]: ./packages/prettier-config-react/\n[ruff.toml]: ./templates/ruff/\n[pyrightconfig.json]: ./templates/pyright/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvoke-ai%2Fcode-quality-configs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finvoke-ai%2Fcode-quality-configs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvoke-ai%2Fcode-quality-configs/lists"}