Skip to content

Commit

Permalink
chore (ban-attributes): correct docs name (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
43081j authored Nov 27, 2022
1 parent 444612a commit b1e901b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/ban-attributes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Disallows a set of attributes from being used (attribute-denylist)
# Disallows a set of attributes from being used (ban-attributes)

You may prefer to disallow some attributes for various reasons in templates,
this simply allows you to create such a denylist.
Expand All @@ -10,7 +10,7 @@ This rule disallows a list of attributes within templates.
The following patterns are considered warnings:

```ts
/*eslint lit/attribute-denylist: ["error", "attr"] */
/*eslint lit/ban-attributes: ["error", "attr"] */
html`<x-foo attr>`;
```

Expand Down

0 comments on commit b1e901b

Please sign in to comment.