Posts

Showing posts from April 19, 2019

Wikiquote

Image
Wikiquote Logotipo do Wikiquote Proprietário(s) Wikimedia Foundation Requer pagamento? Não Gênero Repositório de citações Cadastro Opcional e gratuito Idioma(s) 89 [ 1 ] Lançamento 25 de agosto de 2003 (data da criação do domínio) Posição no Alexa 2.987 [ 2 ] Desenvolvedor Jimmy Wales e a comunidade Wikimedia. Endereço eletrónico www.wikiquote.org ...

Enforcing noopener noreferrer with grunt-htmllint

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 0 I recently was using create-react-app and noticed that the <a> tag in App.js was using the noopener noreferrer attributes. I also noticed that scattered throughout our code-base, are <a> tags which do not use the above attributes. I wanted to, using grunt-htmllint , add a rule that would enforce the adding of these attributes but am having trouble with the value that I should add to what I think would be "tag-req-attr" . The documentation for the rule is listed here, but the usage for me is confusing. How can I set the specified <a> tag to include said rules? I am looking for a way to enforc...