|
3 | 3 | ## Installation
|
4 | 4 |
|
5 | 5 | ```sh
|
6 |
| -$ npm install --save-dev eslint eslint-plugin-github |
| 6 | +npm install --save-dev eslint eslint-plugin-github |
7 | 7 | ```
|
8 | 8 |
|
9 | 9 | ## Setup
|
@@ -72,25 +72,37 @@ This config will be interpreted in the following way:
|
72 | 72 |
|
73 | 73 | ### Rules
|
74 | 74 |
|
75 |
| -- [Array Foreach](./docs/rules/array-foreach.md) |
76 |
| -- [Async Currenttarget](./docs/rules/async-currenttarget.md) |
77 |
| -- [Async Preventdefault](./docs/rules/async-preventdefault.md) |
78 |
| -- [Authenticity Token](./docs/rules/authenticity-token.md) |
79 |
| -- [Get Attribute](./docs/rules/get-attribute.md) |
80 |
| -- [JS Class Name](./docs/rules/js-class-name.md) |
81 |
| -- [No Blur](./docs/rules/no-blur.md) |
82 |
| -- [No D None](./docs/rules/no-d-none.md) |
83 |
| -- [No Dataset](./docs/rules/no-dataset.md) |
84 |
| -- [No Dynamic Script Tag](./docs/rules/no-dynamic-script-tag.md) |
85 |
| -- [No Implicit Buggy Globals](./docs/rules/no-implicit-buggy-globals.md) |
86 |
| -- [No Inner HTML](./docs/rules/no-inner-html.md) |
87 |
| -- [No InnerText](./docs/rules/no-innerText.md) |
88 |
| -- [No Then](./docs/rules/no-then.md) |
89 |
| -- [No Useless Passive](./docs/rules/no-useless-passive.md) |
90 |
| -- [Prefer Observers](./docs/rules/prefer-observers.md) |
91 |
| -- [Require Passive Events](./docs/rules/require-passive-events.md) |
92 |
| -- [Unescaped HTML Literal](./docs/rules/unescaped-html-literal.md) |
93 |
| - |
94 |
| -#### Accessibility-focused rules (prefixed with a11y) |
95 |
| - |
96 |
| -- [Role Supports ARIA Props](./docs/rules/role-supports-aria-props.md) |
| 75 | +<!-- begin auto-generated rules list --> |
| 76 | + |
| 77 | +💼 Configurations enabled in.\ |
| 78 | +🔍 Set in the `browser` configuration.\ |
| 79 | +🔐 Set in the `internal` configuration.\ |
| 80 | +⚛️ Set in the `react` configuration.\ |
| 81 | +✅ Set in the `recommended` configuration.\ |
| 82 | +🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).\ |
| 83 | +❌ Deprecated. |
| 84 | + |
| 85 | +| Name | Description | 💼 | 🔧 | ❌ | |
| 86 | +| :------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------- | :- | :- | :- | |
| 87 | +| [a11y-no-generic-link-text](docs/rules/a11y-no-generic-link-text.md) | disallow generic link text | | | ❌ | |
| 88 | +| [array-foreach](docs/rules/array-foreach.md) | enforce `for..of` loops over `Array.forEach` | ✅ | | | |
| 89 | +| [async-currenttarget](docs/rules/async-currenttarget.md) | disallow `event.currentTarget` calls inside of async functions | 🔍 | | | |
| 90 | +| [async-preventdefault](docs/rules/async-preventdefault.md) | disallow `event.preventDefault` calls inside of async functions | 🔍 | | | |
| 91 | +| [authenticity-token](docs/rules/authenticity-token.md) | disallow usage of CSRF tokens in JavaScript | 🔐 | | | |
| 92 | +| [get-attribute](docs/rules/get-attribute.md) | disallow wrong usage of attribute names | 🔍 | 🔧 | | |
| 93 | +| [js-class-name](docs/rules/js-class-name.md) | enforce a naming convention for js- prefixed classes | 🔐 | | | |
| 94 | +| [no-blur](docs/rules/no-blur.md) | disallow usage of `Element.prototype.blur()` | 🔍 | | | |
| 95 | +| [no-d-none](docs/rules/no-d-none.md) | disallow usage the `d-none` CSS class | 🔐 | | | |
| 96 | +| [no-dataset](docs/rules/no-dataset.md) | enforce usage of `Element.prototype.getAttribute` instead of `Element.prototype.datalist` | 🔍 | | | |
| 97 | +| [no-dynamic-script-tag](docs/rules/no-dynamic-script-tag.md) | disallow creating dynamic script tags | ✅ | | | |
| 98 | +| [no-implicit-buggy-globals](docs/rules/no-implicit-buggy-globals.md) | disallow implicit global variables | ✅ | | | |
| 99 | +| [no-inner-html](docs/rules/no-inner-html.md) | disallow `Element.prototype.innerHTML` in favor of `Element.prototype.textContent` | 🔍 | | | |
| 100 | +| [no-innerText](docs/rules/no-innerText.md) | disallow `Element.prototype.innerText` in favor of `Element.prototype.textContent` | 🔍 | 🔧 | | |
| 101 | +| [no-then](docs/rules/no-then.md) | enforce using `async/await` syntax over Promises | ✅ | | | |
| 102 | +| [no-useless-passive](docs/rules/no-useless-passive.md) | disallow marking a event handler as passive when it has no effect | 🔍 | 🔧 | | |
| 103 | +| [prefer-observers](docs/rules/prefer-observers.md) | disallow poorly performing event listeners | 🔍 | | | |
| 104 | +| [require-passive-events](docs/rules/require-passive-events.md) | enforce marking high frequency event handlers as passive | 🔍 | | | |
| 105 | +| [role-supports-aria-props](docs/rules/role-supports-aria-props.md) | Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. | ⚛️ | | | |
| 106 | +| [unescaped-html-literal](docs/rules/unescaped-html-literal.md) | disallow unescaped HTML literals | 🔍 | | | |
| 107 | + |
| 108 | +<!-- end auto-generated rules list --> |
0 commit comments