Skip to content
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

docs: update valid-each-key, require-each-key, no-at-html-tags, prefer-class-directive further reading links #1185

Merged
Merged
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
2 changes: 1 addition & 1 deletion docs/rules/no-at-html-tags.md
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ If you are certain the content passed to `{@html}` is sanitized HTML you can dis

## :books: Further Reading

- [Svelte - Tutorial > 1. Introduction / HTML tags](https://svelte.dev/tutorial/html-tags)
- [Svelte - Tutorial > Basic Svelte / Introduction / HTML tags](https://svelte.dev/tutorial/svelte/html-tags)

## :rocket: Version

2 changes: 1 addition & 1 deletion docs/rules/prefer-class-directive.md
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ You cannot enforce this style by using [prettier-plugin-svelte]. That is, this r

## :books: Further Reading

- [Svelte - Tutorial > 13. Classes / The class directive](https://svelte.dev/tutorial/classes)
- [Svelte - Tutorial > Basic Svelte / Classes and styles / The class atribute](https://svelte.dev/tutorial/svelte/classes)

## :rocket: Version

2 changes: 1 addition & 1 deletion docs/rules/require-each-key.md
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ Nothing.

## :books: Further Reading

- [Svelte - Tutorial > 4. Logic / Keyed each blocks](https://svelte.dev/tutorial/svelte/keyed-each-blocks)
- [Svelte - Tutorial > Basic Svelte / Logic / Keyed each blocks](https://svelte.dev/tutorial/svelte/keyed-each-blocks)

## :rocket: Version

2 changes: 1 addition & 1 deletion docs/rules/valid-each-key.md
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ Nothing.

## :books: Further Reading

- [Svelte - Tutorial > 4. Logic / Keyed each blocks](https://svelte.dev/tutorial/keyed-each-blocks)
- [Svelte - Tutorial > Basic Svelte / Logic / Keyed each blocks](https://svelte.dev/tutorial/svelte/keyed-each-blocks)

## :rocket: Version


Unchanged files with check annotations Beta

const options = context.options[0] ?? {};
// TODO: Remove in v4

Check warning on line 78 in packages/eslint-plugin-svelte/src/rules/no-unused-props.ts

GitHub Actions / lint

Unexpected 'todo' comment: 'TODO: Remove in v4'
// MEMO: `ignorePatterns` was a property that only existed from v3.2.0 to v3.2.2.
// From v3.3.0, it was replaced with `ignorePropertyPatterns` and `ignoreTypePatterns`.
if (options.ignorePatterns != null && !isRemovedWarningShown) {
console.warn(

Check warning on line 82 in packages/eslint-plugin-svelte/src/rules/no-unused-props.ts

GitHub Actions / lint

Unexpected console statement
'eslint-plugin-svelte: The `ignorePatterns` option in the `no-unused-props` rule has been removed. Please use `ignorePropertyPatterns` or/and `ignoreTypePatterns` instead.'
);
isRemovedWarningShown = true;