From 3a975ee60d84a2ef85e602ba046ce235179c7f35 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 29 Apr 2024 03:20:00 +0000 Subject: [PATCH] chore: release eslint-plugin-astro --- .changeset/chilled-carrots-glow.md | 5 ----- CHANGELOG.md | 6 ++++++ docs/rules/no-exports-from-components.md | 7 +++++-- package.json | 2 +- src/meta.ts | 2 +- 5 files changed, 13 insertions(+), 9 deletions(-) delete mode 100644 .changeset/chilled-carrots-glow.md diff --git a/.changeset/chilled-carrots-glow.md b/.changeset/chilled-carrots-glow.md deleted file mode 100644 index 2fd7debd..00000000 --- a/.changeset/chilled-carrots-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-astro": minor ---- - -feat: add `astro/no-exports-from-components` rule diff --git a/CHANGELOG.md b/CHANGELOG.md index 8be3e1ec..e6dc8ab7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # eslint-plugin-astro +## 1.1.0 + +### Minor Changes + +- [#372](https://github.com/ota-meshi/eslint-plugin-astro/pull/372) [`9102e3d`](https://github.com/ota-meshi/eslint-plugin-astro/commit/9102e3d9bc9cd8b6bd6060a6ea943034f846da53) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add `astro/no-exports-from-components` rule + ## 1.0.3 ### Patch Changes diff --git a/docs/rules/no-exports-from-components.md b/docs/rules/no-exports-from-components.md index f1f6ebb4..0bdf5f9b 100644 --- a/docs/rules/no-exports-from-components.md +++ b/docs/rules/no-exports-from-components.md @@ -1,14 +1,13 @@ --- title: "astro/no-exports-from-components" description: "disallow value export" +since: "v1.1.0" --- # astro/no-exports-from-components > disallow value export -- ❗ **_This rule has not been released yet._** - ## 📖 Rule Details This rule reports value exports from Astro components. @@ -34,6 +33,10 @@ export const x = 42 Nothing. +## 🚀 Version + +This rule was introduced in eslint-plugin-astro v1.1.0 + ## 🔍 Implementation - [Rule source](https://github.com/ota-meshi/eslint-plugin-astro/blob/main/src/rules/no-exports-from-components.ts) diff --git a/package.json b/package.json index b5e916f5..76b7ad0c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-astro", - "version": "1.0.3", + "version": "1.1.0", "description": "ESLint plugin for Astro component", "main": "lib/index.js", "module": "lib/index.mjs", diff --git a/src/meta.ts b/src/meta.ts index 6d13597e..367cca78 100644 --- a/src/meta.ts +++ b/src/meta.ts @@ -2,4 +2,4 @@ // This file has been automatically generated, // in order to update its content execute "npm run update" export const name = "eslint-plugin-astro" -export const version = "1.0.3" +export const version = "1.1.0"