From aca2304f1396be4c71287fbefbae4b11d6cb9076 Mon Sep 17 00:00:00 2001 From: Alexander Prinzhorn Date: Thu, 23 May 2024 12:12:37 +0200 Subject: [PATCH] eslint-plugin-svelte3 -> eslint-plugin-svelte (#334) --- README.md | 2 +- linter.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c4bd0e8..f886f6b 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ For [Vue.js](https://vuejs.org/) `.vue` files it would be: } ``` -For [Svelte](https://svelte.dev/) `.svelte` files, using [`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3) and [Svelte](https://packagecontrol.io/packages/Svelte) syntax highlighting, it would be: +For [Svelte](https://svelte.dev/) `.svelte` files, using [`eslint-plugin-svelte`](https://github.com/sveltejs/eslint-plugin-svelte) and [Svelte](https://packagecontrol.io/packages/Svelte) syntax highlighting, it would be: ```json "linters": { diff --git a/linter.py b/linter.py index 1d82ecd..5f901d7 100644 --- a/linter.py +++ b/linter.py @@ -40,6 +40,7 @@ PLUGINS = { 'eslint-plugin-html': 'text.html', 'eslint-plugin-json': 'source.json', + 'eslint-plugin-svelte': 'text.html', 'eslint-plugin-svelte3': 'text.html', 'eslint-plugin-vue': 'text.html.vue', '@angular-eslint/eslint-plugin': 'text.html',