diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..3a092e7 --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,9 @@ +{ + "extends": "stylelint-config-standard", + "rules": { + "color-hex-case": "upper", + "max-empty-lines": 2, + "no-missing-end-of-source-newline": true, + "selector-type-no-unknown": null + } +} \ No newline at end of file diff --git a/package.json b/package.json index 03e8188..c255394 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "fs-extra": "^2.0.0", "postcss": "^5.2.15", "replace-in-file": "^2.4.1", + "stylelint-config-standard": "^16.0.0", "webpack": "^2.2.1", "webpack-dev-server": "^2.4.1", "xo": "^0.17.1" diff --git a/yarn.lock b/yarn.lock index 04023cc..7ef20ce 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4071,6 +4071,10 @@ strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" +stylelint-config-standard@^16.0.0: + version "16.0.0" + resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-16.0.0.tgz#bb7387bff1d7dd7186a52b3ebf885b2405d691bf" + supports-color@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"