From e2c37eb70e16cae15263790555c945daaf503d80 Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Sat, 14 Jan 2017 16:19:40 +0000 Subject: [PATCH 1/3] Update preprocessor to latest --- .stylelintrc | 3 --- package.json | 7 +++---- test/config.json | 6 ------ 3 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 .stylelintrc delete mode 100644 test/config.json diff --git a/.stylelintrc b/.stylelintrc deleted file mode 100644 index 3c4e4ae..0000000 --- a/.stylelintrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "stylelint-config-suitcss" -} diff --git a/package.json b/package.json index b839932..1682545 100644 --- a/package.json +++ b/package.json @@ -25,16 +25,15 @@ "scripts": { "build": "npm run setup && npm run preprocess", "build-test": "npm run setup && npm run preprocess-test", - "lint": "suitcss -c test/config.json index.css build/lint.css && rm build/lint.css", + "lint": "suitcss index.css >/dev/null", "preprocess": "suitcss index.css build/build.css", "preprocess-test": "suitcss -i test test/test.css build/test.css", "setup": "npm install", "watch": "npm run preprocess-test -- -w -v", - "test": "npm run lint" + "test": "npm run lint -- -e" }, "devDependencies": { - "stylelint-config-suitcss": "^4.0.0", "suitcss-components-test": "*", - "suitcss-preprocessor": "^1.0.1" + "suitcss-preprocessor": "^3.0.1" } } diff --git a/test/config.json b/test/config.json deleted file mode 100644 index 74f347a..0000000 --- a/test/config.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "lint": true, - "postcss-reporter": { - "throwError": true - } -} From 91bae140bbd240710dffb4b84e55bbf5352ea52a Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Sat, 14 Jan 2017 16:19:57 +0000 Subject: [PATCH 2/3] Remove cursor: pointer Based on this article - https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b#.9btb4pjra Fixes #20 --- lib/button.css | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/button.css b/lib/button.css index 5b5674b..77c698c 100644 --- a/lib/button.css +++ b/lib/button.css @@ -30,7 +30,6 @@ border-width: var(--Button-border-width); box-sizing: border-box; /* 1 */ color: var(--Button-color); /* 2 */ - cursor: pointer; display: inline-block; font: var(--Button-font); /* 3 */ margin: 0; From f1bc07b475c547199045e6ab74648698b32ce7b5 Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Sat, 14 Jan 2017 16:21:58 +0000 Subject: [PATCH 3/3] Use stable node on Travis Versions are unnecessary for non JS testing --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16a4582..a6c8f55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,4 @@ language: node_js sudo: false node_js: - - "4" - - "5" + - "stable"