{"id":19977462,"url":"https://github.com/hypernym-studio/eslint-config","last_synced_at":"2025-10-09T03:07:59.185Z","repository":{"id":177346797,"uuid":"660241419","full_name":"hypernym-studio/eslint-config","owner":"hypernym-studio","description":"Hypernym's internal config for ESLint.","archived":false,"fork":false,"pushed_at":"2024-12-24T13:51:52.000Z","size":296,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T19:02:38.086Z","etag":null,"topics":["config","configuration","eslint","eslint-config","esm","presets","shareable"],"latest_commit_sha":null,"homepage":"","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/hypernym-studio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/codeowners","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ivodolenc","custom":["https://revolut.me/ivodolenc","https://paypal.me/ivodolenc"]}},"created_at":"2023-06-29T14:58:23.000Z","updated_at":"2024-12-24T13:49:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"4beff314-5f24-4454-a7f5-1ea45d5f6adb","html_url":"https://github.com/hypernym-studio/eslint-config","commit_stats":null,"previous_names":["hypernym-studio/eslint-config"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypernym-studio%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypernym-studio%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypernym-studio%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypernym-studio%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypernym-studio","download_url":"https://codeload.github.com/hypernym-studio/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233589120,"owners_count":18698902,"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":["config","configuration","eslint","eslint-config","esm","presets","shareable"],"created_at":"2024-11-13T03:28:12.060Z","updated_at":"2025-10-09T03:07:59.180Z","avatar_url":"https://github.com/hypernym-studio.png","language":"TypeScript","funding_links":["https://github.com/sponsors/ivodolenc","https://revolut.me/ivodolenc","https://paypal.me/ivodolenc"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e@hypernym/eslint-config\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eHypernym's internal config for ESLint.\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/hypernym-studio/eslint-config\"\u003eRepository\u003c/a\u003e\n  \u003cspan\u003e✦\u003c/span\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@hypernym/eslint-config\"\u003ePackage\u003c/a\u003e\n  \u003cspan\u003e✦\u003c/span\u003e\n  \u003ca href=\"https://github.com/hypernym-studio/eslint-config/releases\"\u003eReleases\u003c/a\u003e\n  \u003cspan\u003e✦\u003c/span\u003e\n  \u003ca href=\"https://github.com/hypernym-studio/eslint-config/discussions\"\u003eDiscussions\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cpre align=\"center\"\u003epnpm add -D @hypernym/eslint-config\u003c/pre\u003e\n\n\u003cbr\u003e\n\n## Usage\n\n### Linting Commands\n\nAdd `lint` commands for manual linting (optional):\n\n```js\n// package.json\n\n{\n  \"scripts\": {\n    \"lint\": \"eslint .\",\n    \"lint:fix\": \"eslint --fix .\"\n  }\n}\n```\n\n### JavaScript Config\n\n```js\n// eslint.config.js\n\nimport { defineConfig, jsConfig, ignoresConfig } from '@hypernym/eslint-config'\n\nexport default defineConfig([jsConfig, ignoresConfig])\n```\n\n### TypeScript Config\n\n```js\n// eslint.config.js\n\nimport {\n  defineConfig,\n  jsConfig,\n  tsConfig,\n  ignoresConfig,\n} from '@hypernym/eslint-config'\n\nexport default defineConfig([jsConfig, tsConfig, ignoresConfig])\n```\n\n### Svelte/SvelteKit Config\n\n\u003e [!NOTE]\n\u003e\n\u003e Install the required `Svelte` dependencies before using:\n\u003e\n\u003e ```sh\n\u003e pnpm add -D eslint-plugin-svelte svelte-eslint-parser\n\u003e ```\n\u003e\n\u003e Also, don't forget to add the `svelte` lang key to the `eslint.validate` vscode setting:\n\u003e\n\u003e ```js\n\u003e // .vscode/settings.json\n\u003e\n\u003e {\n\u003e   \"eslint.validate\": [\"javascript\", \"typescript\", \"svelte\"]\n\u003e }\n\u003e ```\n\n```js\n// eslint.config.js\n\nimport {\n  defineConfig,\n  jsConfig,\n  tsConfig,\n  ignoresConfig,\n} from '@hypernym/eslint-config'\nimport { svelteConfig } from '@hypernym/eslint-config/svelte'\n\nexport default defineConfig([jsConfig, tsConfig, svelteConfig, ignoresConfig])\n```\n\n### Vue/Nuxt Config\n\n\u003e [!NOTE]\n\u003e\n\u003e Install the required `Vue` dependencies before using:\n\u003e\n\u003e ```sh\n\u003e pnpm add -D eslint-plugin-vue vue-eslint-parser\n\u003e ```\n\u003e\n\u003e Also, don't forget to add the `vue` lang key to the `eslint.validate` vscode setting:\n\u003e\n\u003e ```js\n\u003e // .vscode/settings.json\n\u003e\n\u003e {\n\u003e   \"eslint.validate\": [\"javascript\", \"typescript\", \"vue\"]\n\u003e }\n\u003e ```\n\n```js\n// eslint.config.js\n\nimport {\n  defineConfig,\n  jsConfig,\n  tsConfig,\n  ignoresConfig,\n} from '@hypernym/eslint-config'\nimport { vueConfig } from '@hypernym/eslint-config/vue'\n\nexport default defineConfig([jsConfig, tsConfig, vueConfig, ignoresConfig])\n```\n\n### React/Next Config\n\n\u003e [!NOTE]\n\u003e\n\u003e Install the required `React` dependencies before using:\n\u003e\n\u003e ```sh\n\u003e pnpm add -D eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-refresh\n\u003e ```\n\u003e\n\u003e Also, don't forget to add the `react` lang keys to the `eslint.validate` vscode setting:\n\u003e\n\u003e ```js\n\u003e // .vscode/settings.json\n\u003e\n\u003e {\n\u003e   \"eslint.validate\": [\"javascript\", \"typescript\", \"javascriptreact\", \"typescriptreact\"]\n\u003e }\n\u003e ```\n\n```js\n// eslint.config.js\n\nimport { defineConfig, ignoresConfig } from '@hypernym/eslint-config'\nimport { jsxConfig, tsxConfig } from '@hypernym/eslint-config/react'\n\nexport default defineConfig([jsxConfig, tsxConfig, ignoresConfig])\n```\n\n## Custom Setup\n\n```js\n// eslint.config.js\n\nimport {\n  defineConfig,\n  globalIgnores,\n  jsConfig,\n  tsConfig,\n  ignores,\n} from '@hypernym/eslint-config'\n\nexport default defineConfig([\n  jsConfig,\n  tsConfig,\n  {\n    files: tsConfig.files,\n    rules: {\n      '@typescript-eslint/no-explicit-any': 'off',\n      '@typescript-eslint/no-unused-vars': [\n        'error',\n        { ignoreRestSiblings: true },\n      ],\n    },\n  },\n  globalIgnores([...ignores, '**/dir/']),\n])\n```\n\nFor more info on how to `ignore files`, see the official [docs](https://eslint.org/docs/latest/use/configure/ignore).\n\n## License\n\nDeveloped in 🇭🇷 Croatia, © Hypernym Studio.\n\nReleased under the [MIT](LICENSE.txt) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypernym-studio%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypernym-studio%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypernym-studio%2Feslint-config/lists"}