{"id":18263939,"url":"https://github.com/studiometa/eslint-config","last_synced_at":"2025-04-04T20:31:25.934Z","repository":{"id":42971527,"uuid":"158246730","full_name":"studiometa/eslint-config","owner":"studiometa","description":"ESLint Configuration rules","archived":false,"fork":false,"pushed_at":"2025-03-13T17:53:17.000Z","size":582,"stargazers_count":4,"open_issues_count":7,"forks_count":0,"subscribers_count":14,"default_branch":"develop","last_synced_at":"2025-03-31T04:02:04.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/studiometa.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,"publiccode":null,"codemeta":null}},"created_at":"2018-11-19T15:26:57.000Z","updated_at":"2024-12-13T13:30:39.000Z","dependencies_parsed_at":"2024-11-26T05:24:20.152Z","dependency_job_id":"756a80a1-0a4e-481e-a9a8-fcbe7df5e8c7","html_url":"https://github.com/studiometa/eslint-config","commit_stats":{"total_commits":143,"total_committers":6,"mean_commits":"23.833333333333332","dds":0.0699300699300699,"last_synced_commit":"8341d0c91e0e9dc77ccc554bb6c4779d91312cf4"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiometa%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiometa%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiometa%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiometa%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/studiometa","download_url":"https://codeload.github.com/studiometa/eslint-config/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247246405,"owners_count":20907792,"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-05T11:13:12.094Z","updated_at":"2025-04-04T20:31:25.926Z","avatar_url":"https://github.com/studiometa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @studiometa/eslint-config\n\n[![NPM Version](https://img.shields.io/npm/v/@studiometa/eslint-config.svg?style=flat\u0026colorB=3e63dd\u0026colorA=414853)](https://www.npmjs.com/package/@studiometa/eslint-config/)\n[![Downloads](https://img.shields.io/npm/dm/@studiometa/eslint-config?style=flat\u0026colorB=3e63dd\u0026colorA=414853)](https://www.npmjs.com/package/@studiometa/eslint-config/)\n[![Size](https://img.shields.io/bundlephobia/minzip/@studiometa/eslint-config?style=flat\u0026colorB=3e63dd\u0026colorA=414853\u0026label=size)](https://bundlephobia.com/package/@studiometa/eslint-config)\n[![Dependency Status](https://img.shields.io/librariesio/release/npm/@studiometa/eslint-config?style=flat\u0026colorB=3e63dd\u0026colorA=414853)](https://david-dm.org/studiometa/eslint-config)\n\nSet of [ESLint](https://eslint.org/) configurations for multiple usages.\n\n## Installation\n\nInstall the package with NPM along ESLint and Prettier:\n\n```bash\nnpm install --save-dev eslint prettier @studiometa/eslint-config\n```\n\n## Usage\n\nTo use the basic configuration, you just have to install this package and reference it in your ESLint configuration file:\n\n```js\nimport { defineConfig, js, prettier, globals } from '@studiometa/eslint-config';\n\nexport default defineConfig(js, prettier, {\n  files: ['./src/js/**/*.js'],\n  languageOptions: {\n    globals: {\n      ...globals.browser,\n    },\n  },\n});\n```\n\nMake sure to always place the `prettier` configuration last to avoid rules conflicts.\n\nConfigurations for Vue 2, Vue 3 and TypeScript are also available:\n\n**Vue 3**\n\n```js\nimport { defineConfig, js, vue, prettier, globals } from '@studiometa/eslint-config';\n\nexport default defineConfig(js, vue, prettier, {\n  files: ['./src/js/**/*.{js,vue}'],\n  languageOptions: {\n    globals: {\n      ...globals.browser,\n    },\n  },\n});\n```\n\n**TypeScript**\n\n```js\nimport { defineConfig, ts, prettier, globals } from '@studiometa/eslint-config';\n\nexport default defineConfig(ts, prettier, {\n  files: ['./src/js/**/*.ts'],\n  languageOptions: {\n    globals: {\n      ...globals.browser,\n    },\n  },\n});\n```\n\n**Vue 3 × TypeScript**\n\n```js\nimport { defineConfig, ts, vueTs, prettier, globals } from '@studiometa/eslint-config';\n\nexport default defineConfig(ts, vueTs, prettier, {\n  files: ['./src/js/**/*.{ts,vue}'],\n  languageOptions: {\n    globals: {\n      ...globals.browser,\n    },\n  },\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudiometa%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstudiometa%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudiometa%2Feslint-config/lists"}