{"_id":"@cylution/eslint-config-vue3-flat","name":"@cylution/eslint-config-vue3-flat","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@cylution/eslint-config-vue3-flat","version":"1.0.0","description":"eslint flat config for vue3","keywords":["eslint","vue"],"license":"ISC","main":"index.js","publishConfig":{"access":"public"},"homepage":"https://github.com/cylution-org/eslint-config#readme","repository":{"type":"git","url":"git+https://github.com/cylution-org/eslint-config.git"},"bugs":{"url":"https://github.com/cylution-org/eslint-config/issues"},"peerDependencies":{"vue":"^3"},"dependencies":{"eslint":"^9","@eslint/js":"^9","eslint-plugin-vue":"^10","vue-eslint-parser":"^10","@typescript-eslint/eslint-plugin":"^8","@typescript-eslint/parser":"^8","eslint-plugin-unused-imports":"^4","typescript":"^5"},"devDependencies":{"@types/node":"^22"},"_id":"@cylution/eslint-config-vue3-flat@1.0.0","gitHead":"e01596b42a9adefb9124e4da1c0d5f7efc4cd7b8","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-lai9zAyuOOwHjLCg5VEwqFoEiQZ/X34X3WQ3F5dBlvHv00NdZVgDgCmEKhXDGvt6zGj9CaqeboZDeNiAs5Z5TA==","shasum":"09c60b552ff640a59baddbfbe42f8c5d87f8b41c","tarball":"https://registry.npmjs.org/@cylution/eslint-config-vue3-flat/-/eslint-config-vue3-flat-1.0.0.tgz","fileCount":3,"unpackedSize":9154,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGZNMh2vvyAEVtcvU33xwvi600+pjPS+fg+eEorAuNpPAiEA7AbCscAz9JHwL2OCgVcIH3C/sg1d+SXC8bagtsHlIWI="}]},"_npmUser":{"name":"0x0a0d","email":"vandug23@gmail.com"},"directories":{},"maintainers":[{"name":"0x0a0d","email":"vandug23@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config-vue3-flat_1.0.0_1760912919456_0.6888569269518485"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-19T22:28:39.394Z","1.0.0":"2025-10-19T22:28:39.655Z","modified":"2025-10-19T22:28:39.909Z"},"maintainers":[{"name":"0x0a0d","email":"vandug23@gmail.com"}],"description":"eslint flat config for vue3","homepage":"https://github.com/cylution-org/eslint-config#readme","keywords":["eslint","vue"],"repository":{"type":"git","url":"git+https://github.com/cylution-org/eslint-config.git"},"bugs":{"url":"https://github.com/cylution-org/eslint-config/issues"},"license":"ISC","readme":"# @cylution/eslint-config-vue3-flat\n\nESLint shareable config for Vue 3 (flat config style).\n\nThis package exports a flat-style ESLint configuration tailored for Vue 3 projects. Use it as a base in your project's `eslint.config.mjs` (or combine with other configs, e.g. Nuxt's generated config).\n\n## Installation\n\nInstall the package as a dev dependency:\n\n```bash\nnpm install -D @cylution/eslint-config-vue3-flat\n# or\npnpm add -D @cylution/eslint-config-vue3-flat\n# or\nyarn add -D @cylution/eslint-config-vue3-flat\n```\n\n## Usage\n\nBelow is an example `eslint.config.mjs` that demonstrates how to combine this config with Nuxt's generated config and add project-specific overrides.\n\n```eslint.config.mjs\n// @ts-check\nimport withNuxt from './.nuxt/eslint.config.mjs'\nimport cylutionRules from '@cylution/eslint-config-vue3-flat'\n\nconst base = Array.isArray(cylutionRules) ? cylutionRules : [cylutionRules]\n\nexport default withNuxt([\n  ...base,\n  {\n    // project-specific overrides\n    rules: {\n      'no-console': 'warn',\n      '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],\n      'vue/multi-word-component-names': 'off',\n    },\n  },\n])\n```\n\nNotes:\n- The package may export either an array or a single config object. The example above normalizes that into an array before composing with Nuxt's config.\n- When using TypeScript-aware rules (like `@typescript-eslint/no-unused-vars`), make sure you have the relevant parser and plugins installed and configured in your project (e.g. `@typescript-eslint/parser` and `@typescript-eslint/eslint-plugin`).\n\n## Compatibility\n\nDesigned for Vue 3 projects using the flat ESLint config format. It should work with tooling that generates or composes flat configs (for example, Nuxt 3's generated `eslint.config.mjs`).\n\n## Contributing\n\nIf you want to tweak rules or add support for additional workflows, open an issue or submit a pull request in the monorepo.\n\n\n","readmeFilename":"README.md","_rev":"1-d16da6a2ac0666f46ec201c97574f43a"}