{"id":28168533,"url":"https://github.com/altnext/eslint-config-altnext","last_synced_at":"2026-03-07T09:33:06.552Z","repository":{"id":40272275,"uuid":"379249476","full_name":"AltNext/eslint-config-altnext","owner":"AltNext","description":"Shard Altnext styleguide ESLint configuration","archived":false,"fork":false,"pushed_at":"2025-05-12T17:24:00.000Z","size":810,"stargazers_count":1,"open_issues_count":24,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-12T18:34:02.391Z","etag":null,"topics":["eslint","prettier","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/AltNext.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2021-06-22T11:45:41.000Z","updated_at":"2021-12-31T13:26:04.000Z","dependencies_parsed_at":"2023-02-08T03:45:53.327Z","dependency_job_id":"992fd96f-74f0-4ee8-bcf0-030fd2335454","html_url":"https://github.com/AltNext/eslint-config-altnext","commit_stats":{"total_commits":175,"total_committers":5,"mean_commits":35.0,"dds":"0.34285714285714286","last_synced_commit":"314953e32102388315919eda7019a8f5793598cf"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AltNext%2Feslint-config-altnext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AltNext%2Feslint-config-altnext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AltNext%2Feslint-config-altnext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AltNext%2Feslint-config-altnext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AltNext","download_url":"https://codeload.github.com/AltNext/eslint-config-altnext/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254364267,"owners_count":22058880,"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":["eslint","prettier","typescript"],"created_at":"2025-05-15T15:13:44.445Z","updated_at":"2026-03-07T09:33:06.509Z","avatar_url":"https://github.com/AltNext.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-altnext\n\n[![Test Status](https://github.com/altnext/eslint-config-altnext/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/AltNext/eslint-config-altnext/actions/workflows/test.yml?query=branch%3Amain)\n\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=AltNext_eslint-config-altnext\u0026metric=bugs)](https://sonarcloud.io/dashboard?id=AltNext_eslint-config-altnext)\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=AltNext_eslint-config-altnext\u0026metric=code_smells)](https://sonarcloud.io/dashboard?id=AltNext_eslint-config-altnext)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=AltNext_eslint-config-altnext\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=AltNext_eslint-config-altnext)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=AltNext_eslint-config-altnext\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=AltNext_eslint-config-altnext)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=AltNext_eslint-config-altnext\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=AltNext_eslint-config-altnext)\n[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=AltNext_eslint-config-altnext\u0026metric=sqale_index)](https://sonarcloud.io/dashboard?id=AltNext_eslint-config-altnext)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=AltNext_eslint-config-altnext\u0026metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=AltNext_eslint-config-altnext)\n\n[![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/altnext/eslint-config-altnext)](https://app.snyk.io/org/altnext/project/46fd7677-38c9-4e4a-a374-664f722e4427)\n\n[![npm](https://img.shields.io/npm/v/eslint-config-altnext)](https://www.npmjs.com/package/eslint-config-altnext)\n[![NPM](https://img.shields.io/npm/l/eslint-config-altnext)](https://www.npmjs.com/package/eslint-config-altnext)\n[![npm](https://img.shields.io/npm/dm/eslint-config-altnext)](https://www.npmjs.com/package/eslint-config-altnext)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/eslint-config-altnext)](https://www.npmjs.com/package/eslint-config-altnext)\n\n[![GitHub issues](https://img.shields.io/github/issues-raw/altnext/eslint-config-altnext)](https://www.github.com/altnext/eslint-config-altnext)\n[![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/altnext/eslint-config-altnext)](https://www.github.com/altnext/eslint-config-altnext)\n[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/altnext/eslint-config-altnext)](https://www.github.com/altnext/eslint-config-altnext)\n[![Lines of code](https://img.shields.io/tokei/lines/github/altnext/eslint-config-altnext)](https://www.github.com/altnext/eslint-config-altnext)\n[![GitHub top language](https://img.shields.io/github/languages/top/altnext/eslint-config-altnext)](https://www.github.com/altnext/eslint-config-altnext)\n\nA highly opinionated configuration for ESLint and Prettier,\nfollowing Altnext's styleguide.\n\n### Installation\n\nRun `npm i -D eslint-config-altnext` (or `yarn add -D eslint-config-altnext`) to add this package to your project's `devDependencies`.\n\nWe bundle everything necessary to run [`eslint`](https://github.com/eslint/eslint),\nincluding `eslint` itself.\n\n### Usage\n\nIn your `.eslintrc.js` (or any other file you use to configure eslint),\nadd the config you want from this package to the `extends` field.\n\nFor example:\n```javascript\nmodule.exports = {\n  extends: ['altnext'],\n};\n```\n\nWe provide 2 configs, `altnext` (or `altnext/type-checking`, which point to the same config),\nand `altnext/base`, which includes the base config, excluding rules that require type information to run.\n\nIf you use `altnext` (or `altnext/type-checking`),\nyou'll need to add a reference to your project's `tsconfig.json`,\nfor example:\n```javascript\nmodule.exports = {\n  extends: ['altnext'],\n  parserOptions: { tsconfigRootDir: __dirname, project: ['./tsconfig.json'] },\n};\n```\n\n### Prettier\n\nWe also bundle Altnext's [`prettier`](https://github.com/prettier/prettier) configuration in this package.\nTo use it, simply set your project's `.prettierrc.js` file to the following:\n\n```javascript\nmodule.exports = require('eslint-config-altnext/.prettierrc');\n```\n\n### Plugins\n\nWe use a wide variety of plugins and other packages,\nall of whom are bundled as dependencies of this package.\n\nSpecial thanks to the maintainers and contributors of these packages.\n\nThe following are the various packages and plugins included when adding this package:\n* [`@typescript-eslint/{eslint-plugin,parser}`](https://github.com/typescript-eslint/typescript-eslint)\n* [`eslint`](https://github.com/eslint/eslint)\n* [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier)\n* [`eslint-import-resolver-alias`](https://github.com/johvin/eslint-import-resolver-alias)\n* [`eslint-import-resolver-typescript`](https://github.com/alexgorbatchev/eslint-import-resolver-typescript)\n* [`eslint-plugin-import`](https://github.com/benmosher/eslint-plugin-import)\n* [`eslint-plugin-jest`](https://github.com/jest-community/eslint-plugin-jest)\n* [`eslint-plugin-jest-formatting`](https://github.com/dangreenisrael/eslint-plugin-jest-formatting)\n* [`eslint-plugin-jsx-a11y`](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y)\n* [`eslint-plugin-node`](https://github.com/mysticatea/eslint-plugin-node)\n* [`eslint-plugin-playwright`](https://github.com/playwright-community/eslint-plugin-playwright)\n* [`eslint-plugin-prettier`](https://github.com/prettier/eslint-plugin-prettier)\n* [`eslint-plugin-react`](https://github.com/yannickcr/eslint-plugin-react)\n* [`eslint-plugin-react-hooks`](https://github.com/facebook/react/tree/master/packages/eslint-plugin-react-hooks)\n* [`eslint-plugin-unicorn`](https://github.com/sindresorhus/eslint-plugin-unicorn)\n* [`prettier`](https://github.com/prettier/prettier)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltnext%2Feslint-config-altnext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltnext%2Feslint-config-altnext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltnext%2Feslint-config-altnext/lists"}