import type { Linter } from 'eslint' ; export default { postprocess ( messages , filename ) { const filteredMessages = messages [ 0 ] ?. filter ( ( message ) => message . ruleId !== 'vue/comment-directive' ) ?? [ ] ; return [ ... filteredMessages ] ; } , supportsAutofix : true } as Linter . Processor ;