eslint-plugin-svelte3
Advanced tools
Comparing version 0.4.4 to 0.4.5
@@ -0,4 +1,8 @@ | ||
# v0.4.5 | ||
- Proper fix for not wiping tag names that begin with `<style` | ||
# v0.4.4 | ||
- With `svelte3/ignore-warnings`, don't wipe elements whose tag names merely begin with `<svelte` | ||
- With `svelte3/ignore-warnings`, don't wipe elements whose tag names merely begin with `<style` | ||
- The plugin is now published to npm | ||
@@ -5,0 +9,0 @@ |
@@ -263,3 +263,3 @@ 'use strict'; | ||
// wipe the appropriate <style> tags in the file | ||
code = code.replace(/<style\b([^]*?)>[^]*?<\/style>/gi, (match, attributes) => { | ||
code = code.replace(/<style(\s[^]*?)?>[^]*?<\/style>/gi, (match, attributes = '') => { | ||
const attrs = {}; | ||
@@ -266,0 +266,0 @@ attributes.split(/\s+/).filter(Boolean).forEach(attr => { |
{ | ||
"name": "eslint-plugin-svelte3", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "An ESLint plugin for Svelte v3 components.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18128