From 0053397166925e07f77004f04b8f37c3ccfc4b7f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 16 Jan 2025 00:33:23 +0000 Subject: [PATCH] chore: release eslint-plugin-svelte (next) --- .changeset/pre.json | 9 ++++++++ docs/rules/consistent-selector-style.md | 7 +++++-- packages/eslint-plugin-svelte/CHANGELOG.md | 24 ++++++++++++++++++++++ packages/eslint-plugin-svelte/package.json | 2 +- packages/eslint-plugin-svelte/src/meta.ts | 2 +- 5 files changed, 40 insertions(+), 4 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 9d54d472f..19d901268 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -11,10 +11,14 @@ "cold-starfishes-doubt", "cool-rockets-allow", "cool-steaks-happen", + "cool-tomatoes-fry", + "early-trainers-know", "eighty-trainers-push", "fast-coins-fly", "fifty-parents-itch", + "great-turkeys-hang", "green-squids-compete", + "grumpy-deers-film", "hip-avocados-call", "hungry-grapes-shave", "itchy-dragons-boil", @@ -23,11 +27,16 @@ "nice-clocks-buy", "olive-melons-explain", "olive-spiders-type", + "olive-squids-design", "olive-wolves-travel", + "perfect-mirrors-doubt", "quiet-toys-burn", + "red-jokes-tickle", "sixty-news-look", "small-days-agree", "small-donuts-end", + "smart-apes-confess", + "smart-brooms-relax", "soft-bears-hear", "thick-items-retire", "thin-dryers-know", diff --git a/docs/rules/consistent-selector-style.md b/docs/rules/consistent-selector-style.md index 12f7990f9..5b467068c 100644 --- a/docs/rules/consistent-selector-style.md +++ b/docs/rules/consistent-selector-style.md @@ -3,14 +3,13 @@ pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/consistent-selector-style' description: 'enforce a consistent style for CSS selectors' +since: 'v3.0.0-next.15' --- # svelte/consistent-selector-style > enforce a consistent style for CSS selectors -- :exclamation: **_This rule has not been released yet._** - ## :book: Rule Details This rule allows you to set a preferred style for your CSS (& other style language) selectors. In CSS, there is a wide list of options for selecting elements, however, the three most basic types are: @@ -92,6 +91,10 @@ This rule allows you to set a preferred style for your CSS (& other style langua - [CSS selector documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_selectors) +## :rocket: Version + +This rule was introduced in eslint-plugin-svelte v3.0.0-next.15 + ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/consistent-selector-style.ts) diff --git a/packages/eslint-plugin-svelte/CHANGELOG.md b/packages/eslint-plugin-svelte/CHANGELOG.md index f0dd63575..f5ba6c1b6 100644 --- a/packages/eslint-plugin-svelte/CHANGELOG.md +++ b/packages/eslint-plugin-svelte/CHANGELOG.md @@ -1,5 +1,29 @@ # eslint-plugin-svelte +## 3.0.0-next.15 + +### Minor Changes + +- [#925](https://github.com/sveltejs/eslint-plugin-svelte/pull/925) [`faf90ef`](https://github.com/sveltejs/eslint-plugin-svelte/commit/faf90ef9a6aab3ec647c30df67a54a25d8322324) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: added the `consistent-selector-style` rule + +- [#984](https://github.com/sveltejs/eslint-plugin-svelte/pull/984) [`35d80a5`](https://github.com/sveltejs/eslint-plugin-svelte/commit/35d80a50f1053666153bfc7221b945055bfb76d1) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: support `warningFilter` in `valid-compile` rule + +### Patch Changes + +- [#1016](https://github.com/sveltejs/eslint-plugin-svelte/pull/1016) [`91999e3`](https://github.com/sveltejs/eslint-plugin-svelte/commit/91999e3520afe42b3cc51f0823f7c912b97176b4) Thanks [@baseballyama](https://github.com/baseballyama)! - chore: change the rule category of `valid-prop-names-in-kit-pages` to `SvelteKit` + +- [#1012](https://github.com/sveltejs/eslint-plugin-svelte/pull/1012) [`763cf7a`](https://github.com/sveltejs/eslint-plugin-svelte/commit/763cf7ace209dfb90cf7d1d7e6699a6c0fe240d6) Thanks [@baseballyama](https://github.com/baseballyama)! - chore: change the rule category of `no-export-load-in-svelte-module-in-kit-pages` to `SvelteKit` + +- [#1017](https://github.com/sveltejs/eslint-plugin-svelte/pull/1017) [`806d72a`](https://github.com/sveltejs/eslint-plugin-svelte/commit/806d72ad55908fb967252ea0514672b026a6bd09) Thanks [@baseballyama](https://github.com/baseballyama)! - chore: do not run `no-reactive-functions` rule on Svelte 5 with runes + +- [#1014](https://github.com/sveltejs/eslint-plugin-svelte/pull/1014) [`74373ec`](https://github.com/sveltejs/eslint-plugin-svelte/commit/74373ec77aa9063c64657faefc01ca331e27b599) Thanks [@baseballyama](https://github.com/baseballyama)! - chore: do not run `no-reactive-reassign` rule on Svelte 5 with runes + +- [#1026](https://github.com/sveltejs/eslint-plugin-svelte/pull/1026) [`1bed311`](https://github.com/sveltejs/eslint-plugin-svelte/commit/1bed311084c58a9893e2b578f8b34c2fcb2e8d8b) Thanks [@baseballyama](https://github.com/baseballyama)! - chore: update `svelte-eslint-parser` to `v1.0.0-next.12` + +- [#1018](https://github.com/sveltejs/eslint-plugin-svelte/pull/1018) [`5bdc906`](https://github.com/sveltejs/eslint-plugin-svelte/commit/5bdc906fc1e32835ab3b75dfd2a6a08b4cbb968b) Thanks [@baseballyama](https://github.com/baseballyama)! - chore: run the `no-inspect` rule only in Svelte 5’s runes mode + +- [#1006](https://github.com/sveltejs/eslint-plugin-svelte/pull/1006) [`5fd91ba`](https://github.com/sveltejs/eslint-plugin-svelte/commit/5fd91baa1835cbffc58a8c473ccf70f3f02a34e6) Thanks [@baseballyama](https://github.com/baseballyama)! - chore: do not run `infinite-reactive-loop` rule on Svelte 5 with runes + ## 3.0.0-next.14 ### Patch Changes diff --git a/packages/eslint-plugin-svelte/package.json b/packages/eslint-plugin-svelte/package.json index f3fb2db94..1a2123cbb 100644 --- a/packages/eslint-plugin-svelte/package.json +++ b/packages/eslint-plugin-svelte/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-svelte", - "version": "3.0.0-next.14", + "version": "3.0.0-next.15", "description": "ESLint plugin for Svelte using AST", "repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git", "homepage": "https://sveltejs.github.io/eslint-plugin-svelte", diff --git a/packages/eslint-plugin-svelte/src/meta.ts b/packages/eslint-plugin-svelte/src/meta.ts index 245559a1d..85f3fb430 100644 --- a/packages/eslint-plugin-svelte/src/meta.ts +++ b/packages/eslint-plugin-svelte/src/meta.ts @@ -2,4 +2,4 @@ // This file has been automatically generated, // in order to update its content execute "pnpm run update" export const name = 'eslint-plugin-svelte'; -export const version = '3.0.0-next.14'; +export const version = '3.0.0-next.15';