Socket
Book a DemoInstallSign in
Socket

html-tests

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-tests

[![Build Status](https://travis-ci.org/urfu-2015/html-test-suite.svg)](https://travis-ci.org/urfu-2018/html-tests)

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
402
36.27%
Maintainers
2
Weekly downloads
 
Created
Source

Общие тесты для HTML кода

Build Status

Использование

Добавить в package.json в секцию scripts:
"test-html": "mocha ./node_modules/html-tests/task-stub/test"

Проверки

  • Наличие 2х и более html-файлов в корне проекта;
  • Лишние пробелы:
    • после открывающих тегов;
    • перед закрывающими тегами, после <;
    • Перед и после =;
  • Две пустые строки подряд;
  • Блочные теги внутри строчных;
  • Блочные теги внутри <p>;

FAQs

Package last updated on 08 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts