Skip to content
Permalink
Browse files

New: Enable `hint-scoped-svg-styles` in default configurations

Close #2852
  • Loading branch information...
jaspreet57 authored and antross committed Aug 26, 2019
1 parent 2048485 commit 12afa7fcce1cb9d06b3ec4f7c6d63ca79d3ec2f9
@@ -21,6 +21,7 @@
"meta-viewport": "error",
"no-bom": "error",
"no-protocol-relative-urls": "error",
"scoped-svg-styles": "error",
"sri": "error",
"typescript-config/consistent-casing": "error",
"typescript-config/import-helpers": "error",
@@ -15,6 +15,7 @@
"@hint/hint-meta-viewport": "^4.1.3",
"@hint/hint-no-bom": "^4.1.3",
"@hint/hint-no-protocol-relative-urls": "^2.3.3",
"@hint/hint-scoped-svg-styles": "^1.0.0",
"@hint/hint-sri": "^3.2.3",
"@hint/hint-typescript-config": "^2.3.4",
"@hint/hint-webpack-config": "^2.3.4",
@@ -28,6 +28,7 @@
"no-http-redirects": "error",
"no-protocol-relative-urls": "error",
"no-vulnerable-javascript-libraries": "error",
"scoped-svg-styles": "error",
"sri": "error",
"ssllabs": "error",
"strict-transport-security": "error",
@@ -26,6 +26,7 @@
"@hint/hint-no-http-redirects": "^2.3.3",
"@hint/hint-no-protocol-relative-urls": "^2.3.3",
"@hint/hint-no-vulnerable-javascript-libraries": "^2.9.4",
"@hint/hint-scoped-svg-styles": "^1.0.0",
"@hint/hint-sri": "^3.2.3",
"@hint/hint-ssllabs": "^2.3.3",
"@hint/hint-strict-transport-security": "^2.3.3",
@@ -30,6 +30,7 @@
"@hint/hint-no-http-redirects": "^2.3.3",
"@hint/hint-no-protocol-relative-urls": "^2.3.3",
"@hint/hint-no-vulnerable-javascript-libraries": "^2.9.4",
"@hint/hint-scoped-svg-styles": "^1.0.0",
"@hint/hint-sri": "^3.2.3",
"@hint/hint-stylesheet-limits": "^3.2.3",
"@hint/hint-validate-set-cookie-header": "^2.3.3",
@@ -36,6 +36,7 @@
{ "path": "../hint-no-http-redirects" },
{ "path": "../hint-no-protocol-relative-urls" },
{ "path": "../hint-no-vulnerable-javascript-libraries" },
{ "path": "../hint-scoped-svg-styles" },
{ "path": "../hint-sri" },
{ "path": "../hint-stylesheet-limits" },
{ "path": "../hint-validate-set-cookie-header" },
@@ -51,7 +51,6 @@
"@hint/parser-css": "^3.0.7",
"hint": "^5.1.2"
},
"private": true,
"repository": "webhintio/hint",
"scripts": {
"build": "npm run i18n && npm-run-all build:*",
@@ -4,7 +4,8 @@

import { HintContext } from 'hint/dist/src/lib/hint-context';
import { IHint, ProblemLocation } from 'hint/dist/src/lib/types';
import { debug as d, HTMLElement } from '@hint/utils';
import { debug as d } from '@hint/utils/dist/src/debug';
import { HTMLElement } from '@hint/utils/dist/src/dom/html';

import { StyleEvents, StyleParse } from '@hint/parser-css';
import { getCSSCodeSnippet } from '@hint/utils/dist/src/report/get-css-code-snippet';

0 comments on commit 12afa7f

Please sign in to comment.
You can’t perform that action at this time.