import { Category } from '@hint/utils-types' ; import { HintScope } from 'hint/dist/src/lib/enums/hint-scope' ; import { HintMetadata } from 'hint/dist/src/lib/types' ; import { getMessage } from './i18n.import' ; const meta = { docs : { category : Category . compatibility , description : getMessage ( 'description' , 'en' ) , name : getMessage ( 'name' , 'en' ) } , getDescription ( language ) { return getMessage ( 'description' , language ) ; } , getName ( language ) { return getMessage ( 'name' , language ) ; } , id : 'highest-available-document-mode' , schema : [ { additionalProperties : false , properties : { requireMetaElement : { type : 'boolean' } } , type : [ 'object' , 'null' ] } ] , scope : HintScope . any } ; export default meta ;