Skip to content

feat!: drop support for old eslint and node.js #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/moody-tips-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@intlify/eslint-plugin-svelte": major
---

drop support for old eslint and node.js
30 changes: 4 additions & 26 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,42 +28,20 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [18, 20, 22]
node: [18, 20, 22, 23]
eslint: [9]
svelte: [4]
svelte: [5]
include:
# Svelte v5 rc
# Svelte v4
- node: 20
eslint: 9
svelte: ^5.0.0-0
svelte: 4
os: ubuntu-latest
# Svelte v3
- node: 18
eslint: 9
svelte: 3
os: ubuntu-latest
# Old ESLint
- node: 20
eslint: 8
svelte: 4
os: ubuntu-latest
- node: 20
eslint: 7
svelte: 4
os: ubuntu-latest
# Old Node.js
- node: 12
eslint: 8
svelte: 3
os: ubuntu-latest
- node: 14
eslint: 8
svelte: 4
os: ubuntu-latest
- node: 16
eslint: 8
svelte: 4
os: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
166 changes: 0 additions & 166 deletions docs/.vuepress/components/eslint-code-block.vue

This file was deleted.

11 changes: 0 additions & 11 deletions docs/.vuepress/components/setup.js

This file was deleted.

28 changes: 0 additions & 28 deletions docs/.vuepress/components/sponsor-button.vue

This file was deleted.

60 changes: 0 additions & 60 deletions docs/.vuepress/config.cjs

This file was deleted.

Empty file removed docs/.vuepress/public/.nojekyll
Empty file.
3 changes: 0 additions & 3 deletions docs/.vuepress/shim/module.cjs

This file was deleted.

16 changes: 0 additions & 16 deletions docs/rules/no-raw-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ This rule encourage i18n in about the application needs to be localized.

:-1: Examples of **incorrect** code for this rule:

<eslint-code-block>

<!-- eslint-skip -->

```html
Expand All @@ -30,12 +28,8 @@ This rule encourage i18n in about the application needs to be localized.
<p>hello</p>
```

</eslint-code-block>

:+1: Examples of **correct** code for this rule:

<eslint-code-block>

<!-- eslint-skip -->

```html
Expand All @@ -46,8 +40,6 @@ This rule encourage i18n in about the application needs to be localized.
<p>{ $_('hello') }</p>
```

</eslint-code-block>

## :gear: Options

```json
Expand Down Expand Up @@ -81,8 +73,6 @@ This rule encourage i18n in about the application needs to be localized.

### `attributes`

<eslint-code-block>

<!-- eslint-skip -->

```svelte
Expand All @@ -94,10 +84,6 @@ This rule encourage i18n in about the application needs to be localized.
<AnyComponent label="hello" />
```

</eslint-code-block>

<eslint-code-block>

<!-- eslint-skip -->

```svelte
Expand All @@ -110,8 +96,6 @@ This rule encourage i18n in about the application needs to be localized.
<OtherComponent label="hello" />
```

</eslint-code-block>

## :rocket: Version

This rule was introduced in `@intlify/eslint-plugin-svelte` v0.0.1
Expand Down
Loading