diff --git a/README.md b/README.md index 191a4828..7ab86cee 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,8 @@ linters: | [FinalNewline](#FinalNewline) | Yes | warns about missing newline at the end of a ERB template | | [NoJavascriptTagHelper](#NoJavascriptTagHelper) | Yes | prevents the usage of Rails' `javascript_tag` | | ParserErrors | Yes | | -| PartialInstanceVariable | No | detects instance variables in partials | +| [InstanceVariable](#InstanceVariable) | No | detects instance variables | +| PartialInstanceVariable | No | detects instance variables in partials (deprecated in favor of [InstanceVariable](#InstanceVariable))| | [RequireInputAutocomplete](#RequireInputAutocomplete) | Yes | warns about missing autocomplete attributes in input tags | | [RightTrim](#RightTrim) | Yes | enforces trimming at the right of an ERB tag | | [SelfClosingTag](#SelfClosingTag) | Yes | enforces self closing tag styles for void elements | @@ -355,15 +356,15 @@ Linter-Specific Option | Description `correction_style` | When configured with `cdata`, adds CDATA markers. When configured with `plain`, don't add makers. Defaults to `cdata`. ### RequireScriptNonce -This linter prevents the usage of HTML ` Good ✅ - ``` @@ -486,6 +487,75 @@ Linter-Specific Option | Description `allow_blank` | True or false, depending on whether or not the `type` attribute may be omitted entirely from a `