{"repo":"sveltejs/svelte-eslint-parser","free":true,"listed":false,"github":"https://github.com/sveltejs/svelte-eslint-parser","clone":"git clone https://github.com/sveltejs/svelte-eslint-parser.git","description":"Svelte parser for ESLint","language":"TypeScript","stars":122,"topics":["svelte","eslint","eslint-parser","parser","sveltejs","eslint-custom-parser"],"license":"MIT","category":"ui-components","readme_excerpt":"svelte-eslint-parser Svelte parser for ESLint Live DEMO • Discord Motivation The svelte-eslint-parser aims to make it easy to create your own ESLint rules for Svelte. eslint-plugin-svelte is an ESLint plugin built upon this parser, and it already implements some rules. ESLint Plugins Using svelte-eslint-parser eslint-plugin-svelte ESLint plugin for Svelte. Provides a variety of template-based checks using the Svelte AST. @intlify/eslint-plugin-svelte ESLint plugin for internationalization (i18n) in Svelte applications, offering helpful i18n-related rules. --- Installation --- Usage ESLint Config ( eslint.config.js ) CLI --- Options The parserOptions for this parser generally match what espree—ESLint's default parser—supports. For example: parserOptions.parser Use the parserOptions.parser property to define a custom parser for tags. Any additional parser options (besides the parser itself) are passed along to the specified parser. Using TypeScript in If you use @typescript-eslint/parser for TypeScript within of .svelte files, additional configuration is needed. For example: Multiple parsers To switch parsers for each language, provide an object: parserOptions.svelteConfig If you use eslint.config.js , you can specify a svelte.config.js file via parserOptions.svelteConfig . If parserOptions.svelteConfig is not set, the parser attempts to statically read some config from svelte.config.js . parserOptions.svelteFeatures You can configure how Svelte-specific features are parsed via","default_branch":null,"files":null,"tree":[],"storefront":"/r/sveltejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sveltejs/svelte-eslint-parser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}