Skip to content

Commit 39e1347

Browse files
authored
Merge branch 'main' into esm
2 parents eb2a901 + 6a159bd commit 39e1347

File tree

103 files changed

+93
-1939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+93
-1939
lines changed

.changeset/cool-rockets-allow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'eslint-plugin-svelte': major
3+
---
4+
5+
feat!: drop support for old eslint

.changeset/pre.json

+3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
"docs": "0.0.0"
77
},
88
"changesets": [
9+
"lazy-eyes-wait",
910
"olive-wolves-travel",
11+
"quiet-toys-burn",
1012
"small-days-agree",
13+
"small-donuts-end",
1114
"twenty-nails-end"
1215
]
1316
}

.changeset/small-donuts-end.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'eslint-plugin-svelte': patch
3+
---
4+
5+
fix: crash with eslint v9.16.0 in `svelte/no-inner-declarations`

.github/workflows/NodeCI.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
matrix:
5454
os: [ubuntu-latest]
55-
eslint: [7, 8, 9]
55+
eslint: [8, 9]
5656
node: [18.x, 20.x, 22.x, latest]
5757
steps:
5858
- name: Checkout
@@ -126,13 +126,8 @@ jobs:
126126
with:
127127
node-version: ${{ matrix.node }}
128128
- name: Install svelte@3
129-
# Remove @sveltejs/kit because postinstall fails on old node.
130129
run: |
131-
cd docs-svelte-kit
132-
pnpm rm @sveltejs/kit
133-
cd ..
134-
pnpm install -D -w @typescript-eslint/parser@5 @typescript-eslint/eslint-plugin@5 eslint@8
135-
cd packages/eslint-plugin-svelte
130+
cd ./packages/eslint-plugin-svelte
136131
pnpm install -D svelte@3
137132
cd ../..
138133
rm -rf packages/eslint-plugin-svelte/node_modules

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ npm install --save-dev eslint eslint-plugin-svelte svelte
6262

6363
> **Requirements**
6464
>
65-
> - ESLint v7.0.0 and above
66-
> - Node.js v14.17.x, v16.x and above
65+
> - ESLint v8.57.1, v9.0.0 and above
66+
> - Node.js v18.20.4, v20.18.0, v22.10.0 and above
6767
6868
<!--DOCS_IGNORE_END-->
6969

docs-svelte-kit/build-system/build.ts

-66
This file was deleted.

docs-svelte-kit/build-system/src/process-shim.mjs

-8
This file was deleted.

docs-svelte-kit/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"@babel/types": "^7.26.0",
1717
"@fontsource/fira-mono": "^5.1.0",
1818
"@ota-meshi/eslint-plugin": "^0.17.6",
19+
"@shikijs/markdown-it": "^1.24.0",
20+
"@shikijs/twoslash": "^1.24.0",
1921
"@sindresorhus/slugify": "^2.2.1",
2022
"@sveltejs/adapter-static": "^3.0.6",
2123
"@sveltejs/kit": "^2.8.5",
@@ -56,6 +58,7 @@
5658
"stylus": "^0.64.0",
5759
"svelte": "^5.2.10",
5860
"svelte-adapter-ghpages": "0.2.2",
61+
"twoslash-eslint": "^0.2.12",
5962
"util": "^0.12.5",
6063
"vite": "^6.0.1",
6164
"vite-plugin-eslint4b": "^0.5.0",

docs-svelte-kit/shim/fs.mjs

-6
This file was deleted.

docs-svelte-kit/shim/globby.mjs

-2
This file was deleted.

docs-svelte-kit/shim/module.mjs

-6
This file was deleted.

docs-svelte-kit/shim/os.mjs

-6
This file was deleted.

docs-svelte-kit/shim/picocolors.mjs

-4
This file was deleted.

docs-svelte-kit/shim/postcss-load-config.mjs

-16
This file was deleted.

docs-svelte-kit/shim/source-map-js.mjs

-4
This file was deleted.

docs-svelte-kit/shim/url.mjs

-6
This file was deleted.

docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte

-101
This file was deleted.

0 commit comments

Comments
 (0)