Skip to content

Commit 21cf410

Browse files
chore: release eslint-plugin-svelte (#1224)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 30ac92a commit 21cf410

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

.changeset/popular-jokes-tell.md

-5
This file was deleted.

docs/rules/no-top-level-browser-globals.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: 'rule-details'
33
sidebarDepth: 0
44
title: 'svelte/no-top-level-browser-globals'
55
description: 'disallow using top-level browser global variables'
6+
since: 'v3.8.0'
67
---
78

89
# svelte/no-top-level-browser-globals
910

1011
> disallow using top-level browser global variables
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
13-
1413
## :book: Rule Details
1514

1615
This rule reports top-level browser global variables in Svelte components.
@@ -56,6 +55,10 @@ Nothing.
5655

5756
- [`$app/environment` documentation > browser](https://svelte.dev/docs/kit/$app-environment#browser)
5857

58+
## :rocket: Version
59+
60+
This rule was introduced in eslint-plugin-svelte v3.8.0
61+
5962
## :mag: Implementation
6063

6164
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-top-level-browser-globals.ts)

packages/eslint-plugin-svelte/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# eslint-plugin-svelte
22

3+
## 3.8.0
4+
5+
### Minor Changes
6+
7+
- [#1210](https://github.com/sveltejs/eslint-plugin-svelte/pull/1210) [`9cffd3b`](https://github.com/sveltejs/eslint-plugin-svelte/commit/9cffd3ba86926793f3240263e38914cdb2180f0a) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add `svelte/no-top-level-browser-globals` rule
8+
39
## 3.7.0
410

511
### Minor Changes

packages/eslint-plugin-svelte/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-svelte",
3-
"version": "3.7.0",
3+
"version": "3.8.0",
44
"description": "ESLint plugin for Svelte using AST",
55
"repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git",
66
"homepage": "https://sveltejs.github.io/eslint-plugin-svelte",

packages/eslint-plugin-svelte/src/meta.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
// This file has been automatically generated,
33
// in order to update its content execute "pnpm run update"
44
export const name = 'eslint-plugin-svelte' as const;
5-
export const version = '3.7.0' as const;
5+
export const version = '3.8.0' as const;

0 commit comments

Comments
 (0)