Lint and format src/shared/boolean_attributes.js

pull/8569/head
S. Elliott Johnson 3 years ago
parent efd42d9bcb
commit 9fe8b9b677

@ -1,29 +1,29 @@
const _boolean_attributes = [ const _boolean_attributes = [
'allowfullscreen', 'allowfullscreen',
'allowpaymentrequest', 'allowpaymentrequest',
'async', 'async',
'autofocus', 'autofocus',
'autoplay', 'autoplay',
'checked', 'checked',
'controls', 'controls',
'default', 'default',
'defer', 'defer',
'disabled', 'disabled',
'formnovalidate', 'formnovalidate',
'hidden', 'hidden',
'inert', 'inert',
'ismap', 'ismap',
'loop', 'loop',
'multiple', 'multiple',
'muted', 'muted',
'nomodule', 'nomodule',
'novalidate', 'novalidate',
'open', 'open',
'playsinline', 'playsinline',
'readonly', 'readonly',
'required', 'required',
'reversed', 'reversed',
'selected' 'selected'
]; ];
/** /**
* List of HTML boolean attributes (e.g. `<input disabled>`). * List of HTML boolean attributes (e.g. `<input disabled>`).
@ -32,6 +32,4 @@ const _boolean_attributes = [
*/ */
export const boolean_attributes = new Set([..._boolean_attributes]); export const boolean_attributes = new Set([..._boolean_attributes]);
/** @typedef {Class<_boolean_attributes>} BooleanAttributes */ /** @typedef {Class<_boolean_attributes>} BooleanAttributes */

Loading…
Cancel
Save