Skip to content
Sid Vishnoi edited this page Jul 8, 2020 · 8 revisions

no-http-props

Enable this lint rule to get a warning if there exists some URL in respecConfig that starts with http://.

For example:

<script>
  var respecConfig = {
    implementationReportURI: "http://w3c.github.io/payment-request/reports/implementation.html",
                              ^^^^^
  };
</script>

You'll receive a warning pointing you to the violating properties in respecConfig.

var respecConfig = {
  lint: {
    "no-http-props": true,
  },
};
example warning for no-http-props

Guides

Configuration options

W3C Configuration options

Linter rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

WebIDL

HTML attributes

CSS Classes

Special properties

Clone this wiki locally