diff --git a/.changeset/angry-years-behave.md b/.changeset/angry-years-behave.md deleted file mode 100644 index a13a4be4..00000000 --- a/.changeset/angry-years-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-astro": patch ---- - -fix(deps): update dependency globals to v15 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..c34d65db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # 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 + +### Patch Changes + +- [#336](https://github.com/ota-meshi/eslint-plugin-astro/pull/336) [`7695e7d`](https://github.com/ota-meshi/eslint-plugin-astro/commit/7695e7d9e08cc270a2033b68283a76a5733b8a6d) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency globals to v15 + ## 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 cc84b2d4..d9803d94 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"