Create virtual files in ESLint for each Vue SFC block to lint them individually.
by antfuTypeScript
Last 12 weeks · 0 commits
5 of 6 standards met
Describe the bug I just did a setup for extracting and `graphql-eslint`? Reproduction https://github.com/dimaMachina/graphql-eslint/tree/better-vue-processor/examples/vue-code-file System Info Used Package Manager pnpm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Clear and concise description of the problem https://github.com/antfu/eslint-plugin-format/issues/1 Similar to https://eslint.vuejs.org/rules/script-indent.html#options Suggested solution Introduce an option for the processor Alternative _No response_ Additional context _No response_ Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Clear and concise description of the problem I don't know if there is a similar package for extracting svelte's blocks, but I did setup in graphql-eslint svelte example and it seems to work Suggested solution Document that is possible to use with Svelte to extract their `` tags content Alternative _No response_ Additional context _No response_ Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Repository: antfu/eslint-processor-vue-blocks. Description: Create virtual files in ESLint for each Vue SFC block to lint them individually. Stars: 33, Forks: 1. Primary language: TypeScript. Languages: TypeScript (91.3%), JavaScript (8.7%). License: MIT. Latest release: v2.0.0 (1y ago). Open PRs: 0, open issues: 2. Last activity: 1y ago. Community health: 85%. Top contributors: antfu, dethdkn, so1ve.