From e7283869e24bdf2b99c7d4c8e8c537ea5a3a8f01 Mon Sep 17 00:00:00 2001 From: Eugene Fedorenko Date: Sat, 16 Sep 2017 19:49:02 -0400 Subject: [PATCH 1/6] Removed duplicated properties --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index 96ad98a..a978964 100644 --- a/index.js +++ b/index.js @@ -212,8 +212,6 @@ module.exports = { 'block-closing-brace-space-after': 'always-single-line', 'block-closing-brace-space-before': 'always-single-line', 'block-no-empty': null, - 'block-opening-brace-newline-after': ['always'], - 'block-closing-brace-newline-before': ['always'], 'block-opening-brace-newline-after': 'always-multi-line', 'block-opening-brace-newline-before': 'never-single-line', 'block-opening-brace-space-after': 'always-single-line', From 01a8bd4b6d572f0c1bd00732f21d5883e2b67081 Mon Sep 17 00:00:00 2001 From: Eugene Fedorenko Date: Sat, 16 Sep 2017 19:49:33 -0400 Subject: [PATCH 2/6] Added new rules from Stylelint 7.1.0 --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index a978964..cf8af45 100644 --- a/index.js +++ b/index.js @@ -207,15 +207,16 @@ module.exports = { ], // Block + 'block-closing-brace-empty-line-before': 'never', 'block-closing-brace-newline-after': 'always', 'block-closing-brace-newline-before': 'always-multi-line', 'block-closing-brace-space-after': 'always-single-line', 'block-closing-brace-space-before': 'always-single-line', - 'block-no-empty': null, 'block-opening-brace-newline-after': 'always-multi-line', 'block-opening-brace-newline-before': 'never-single-line', 'block-opening-brace-space-after': 'always-single-line', 'block-opening-brace-space-before': 'always', + 'block-no-empty': null, // Selector 'selector-combinator-space-after': 'always', @@ -240,12 +241,14 @@ module.exports = { // Media feature 'media-feature-colon-space-after': 'always', 'media-feature-colon-space-before': 'never', + 'media-feature-name-case': 'lower', 'media-feature-name-no-vendor-prefix': [true, {'severity': 'warning'}], 'media-feature-range-operator-space-after': 'always', 'media-feature-range-operator-space-before': 'always', 'media-feature-parentheses-space-inside': 'never', // Comment + 'comment-no-empty': true, 'comment-whitespace-inside': 'always', // General / Sheet From daaded0b768d96ee1be7166eef0b5f8c05f03a08 Mon Sep 17 00:00:00 2001 From: Eugene Fedorenko Date: Sat, 16 Sep 2017 19:54:25 -0400 Subject: [PATCH 3/6] Added new rules from Stylelint 7.2.0 --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index cf8af45..14d344d 100644 --- a/index.js +++ b/index.js @@ -45,6 +45,7 @@ module.exports = { 'value-list-comma-newline-after': 'always-multi-line', 'value-list-comma-space-after': 'always-single-line', 'value-list-comma-space-before': 'never', + 'value-list-max-empty-lines': 0, // Property 'property-case': 'lower', @@ -242,6 +243,7 @@ module.exports = { 'media-feature-colon-space-after': 'always', 'media-feature-colon-space-before': 'never', 'media-feature-name-case': 'lower', + 'media-feature-name-no-unknown': true, 'media-feature-name-no-vendor-prefix': [true, {'severity': 'warning'}], 'media-feature-range-operator-space-after': 'always', 'media-feature-range-operator-space-before': 'always', From e8b13e54c216027e2e2dd03ee41a7796bc004712 Mon Sep 17 00:00:00 2001 From: Eugene Fedorenko Date: Sat, 16 Sep 2017 21:10:16 -0400 Subject: [PATCH 4/6] Bump Stylelint version to the latest one --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ec8e508..0d00a66 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ }, "homepage": "https://github.com/wildbit/stylelint-config-wildbit#readme", "dependencies": { - "stylelint": "~8.0.0", + "stylelint": "~8.1.1", "stylelint-order": "^0.6.0" } } From 3f40b00b4afa0b9b91da79a5660ee58f40c96fcb Mon Sep 17 00:00:00 2001 From: Eugene Fedorenko Date: Sat, 16 Sep 2017 21:18:43 -0400 Subject: [PATCH 5/6] Keep declaration-block-no-redundant-longhand-properties as a warning --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 14d344d..4d41e44 100644 --- a/index.js +++ b/index.js @@ -61,7 +61,7 @@ module.exports = { // Declaration block 'declaration-block-no-duplicate-properties': true, 'declaration-block-no-shorthand-property-overrides': true, - 'declaration-block-no-redundant-longhand-properties': true, + 'declaration-block-no-redundant-longhand-properties': [true, {'severity': 'warning'}], 'declaration-block-semicolon-newline-after': 'always-multi-line', 'declaration-block-semicolon-newline-before': 'never-multi-line', 'declaration-block-semicolon-space-after': 'always-single-line', From 70fb8c6f114b9cd67a126e3b51e5a5d84d013634 Mon Sep 17 00:00:00 2001 From: Eugene Fedorenko Date: Sat, 16 Sep 2017 21:43:23 -0400 Subject: [PATCH 6/6] =?UTF-8?q?Updated=20module=E2=80=99s=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0d00a66..8b1ae6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stylelint-config-wildbit", - "version": "1.2.0", + "version": "8.1.1", "description": "Shareable stylelint config", "main": "index.js", "repository": {