From ee5ec0c0228b2bc700a70a84025272b345292c1f Mon Sep 17 00:00:00 2001 From: ba55ie Date: Tue, 11 Oct 2016 10:13:06 +0200 Subject: [PATCH] Stylelint 7.3.1 --- index.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index a670490..d78c89a 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,9 @@ module.exports = { // Color - http://stylelint.io/user-guide/rules/#color 'color-hex-case': 'lower', // 'upper', 'color-hex-length': 'short', - 'color-named': 'never', + 'color-named': ['never', { + ignore: ['inside-function'] + }], 'color-no-hex': null, 'color-no-invalid-hex': true, diff --git a/package.json b/package.json index 9faf78d..9139c20 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "eslint": "^3.7.1", "eslint-config-vi": "^2.2.0", "jasmine": "^2.5.2", - "stylelint": "^7.3.0" + "stylelint": "^7.3.1" }, "peerDependencies": { "stylelint": "^7.2.0"