import { Category } from '@hint/utils-types' ; import { HintMetadata , HintScope } from 'hint' ; import { getMessage } from './i18n.import' ; const meta = { docs : { category : Category . performance , description : getMessage ( 'description' , 'en' ) , name : getMessage ( 'name' , 'en' ) } , getDescription ( language ) { return getMessage ( 'description' , language ) ; } , getName ( language ) { return getMessage ( 'name' , language ) ; } , id : 'no-broken-links' , schema : [ { properties : { method : { pattern : '^([hH][eE][aA][dD])|([gG][eE][tT])$' , type : 'string' } } , type : 'object' } ] , scope : HintScope . site } ; export default meta ;