Skip to content
Closed
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
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ module.exports = {
message:
'Do not use string literals for IDs; use withInstanceId instead.',
},
{
selector: 'JSXAttribute[name.name="disabled"]',
message:
'Do not use the disabled attribute; use aria-disabled instead.',
},
{
// Discourage the usage of `Math.random()` as it's a code smell
// for UUID generation, for which we already have a higher-order
Expand Down