Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
1,737 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import type { RuleConfig } from '../rule-config'; | ||
|
||
/** | ||
* Option. | ||
*/ | ||
export interface AccessibleEmojiOption { | ||
[k: string]: any; | ||
} | ||
|
||
/** | ||
* Options. | ||
*/ | ||
export type AccessibleEmojiOptions = [AccessibleEmojiOption?]; | ||
|
||
/** | ||
* Enforce emojis are wrapped in `<span>` and provide screenreader access. | ||
* | ||
* @deprecated | ||
* | ||
* @see [accessible-emoji](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md) | ||
*/ | ||
export type AccessibleEmojiRuleConfig = RuleConfig<AccessibleEmojiOptions>; | ||
|
||
/** | ||
* Enforce emojis are wrapped in `<span>` and provide screenreader access. | ||
* | ||
* @deprecated | ||
* | ||
* @see [accessible-emoji](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md) | ||
*/ | ||
export interface AccessibleEmojiRule { | ||
/** | ||
* Enforce emojis are wrapped in `<span>` and provide screenreader access. | ||
* | ||
* @deprecated | ||
* | ||
* @see [accessible-emoji](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md) | ||
*/ | ||
'jsx-a11y/accessible-emoji': AccessibleEmojiRuleConfig; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import type { RuleConfig } from '../rule-config'; | ||
|
||
/** | ||
* Option. | ||
*/ | ||
export interface AltTextOption { | ||
elements?: string[]; | ||
img?: string[]; | ||
object?: string[]; | ||
area?: string[]; | ||
'input[type="image"]'?: string[]; | ||
[k: string]: any; | ||
} | ||
|
||
/** | ||
* Options. | ||
*/ | ||
export type AltTextOptions = [AltTextOption?]; | ||
|
||
/** | ||
* Enforce all elements that require alternative text have meaningful information to relay back to end user. | ||
* | ||
* @see [alt-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md) | ||
*/ | ||
export type AltTextRuleConfig = RuleConfig<AltTextOptions>; | ||
|
||
/** | ||
* Enforce all elements that require alternative text have meaningful information to relay back to end user. | ||
* | ||
* @see [alt-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md) | ||
*/ | ||
export interface AltTextRule { | ||
/** | ||
* Enforce all elements that require alternative text have meaningful information to relay back to end user. | ||
* | ||
* @see [alt-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md) | ||
*/ | ||
'jsx-a11y/alt-text': AltTextRuleConfig; | ||
} |
Oops, something went wrong.