|
|
|
@ -15,7 +15,7 @@ const attributes = {
|
|
|
|
'avoid-is': () => 'The "is" attribute is not supported cross-browser and should be avoided',
|
|
|
|
'avoid-is': () => 'The "is" attribute is not supported cross-browser and should be avoided',
|
|
|
|
/** @param {string} name */
|
|
|
|
/** @param {string} name */
|
|
|
|
'global-event-reference': (name) =>
|
|
|
|
'global-event-reference': (name) =>
|
|
|
|
`You are referencing the global property window.${name}. Did you forget to declare a variable with that name?`
|
|
|
|
`You are referencing globalThis.${name}. Did you forget to declare a variable with that name?`
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/** @satisfies {Warnings} */
|
|
|
|
/** @satisfies {Warnings} */
|
|
|
|
|