aboutsummaryrefslogtreecommitdiffstats
path: root/.stylelintrc
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-14 16:03:16 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-14 16:03:16 +0800
commitb8aa529d29434978f511e67211d8a5ff9e2f553c (patch)
tree7d434f3a8958f0b3d2baca7eb15f9420be2c18d3 /.stylelintrc
parent1743ccbdb5df504eab8e3c46c18172b176578be1 (diff)
downloadtangerine-wallet-browser-b8aa529d29434978f511e67211d8a5ff9e2f553c.tar
tangerine-wallet-browser-b8aa529d29434978f511e67211d8a5ff9e2f553c.tar.gz
tangerine-wallet-browser-b8aa529d29434978f511e67211d8a5ff9e2f553c.tar.bz2
tangerine-wallet-browser-b8aa529d29434978f511e67211d8a5ff9e2f553c.tar.lz
tangerine-wallet-browser-b8aa529d29434978f511e67211d8a5ff9e2f553c.tar.xz
tangerine-wallet-browser-b8aa529d29434978f511e67211d8a5ff9e2f553c.tar.zst
tangerine-wallet-browser-b8aa529d29434978f511e67211d8a5ff9e2f553c.zip
[WIP] Add packages and tasks for linting scss
Diffstat (limited to '.stylelintrc')
-rw-r--r--.stylelintrc52
1 files changed, 52 insertions, 0 deletions
diff --git a/.stylelintrc b/.stylelintrc
new file mode 100644
index 000000000..4bf6f0572
--- /dev/null
+++ b/.stylelintrc
@@ -0,0 +1,52 @@
+{
+ "extends": "stylelint-config-standard",
+ "rules": {
+ "color-named": "never",
+ "font-family-name-quotes": "always-where-recommended",
+ "font-weight-notation": "numeric",
+ "function-url-quotes": "always",
+ "number-leading-zero": "never",
+ "value-no-vendor-prefix": true,
+ "value-list-comma-newline-before": "never-multi-line",
+ "custom-property-empty-line-before": "never",
+ "property-no-unknown": [
+ true,
+ {
+ "ignoreProperties": [
+ "composes",
+ "all",
+ "-webkit-appearance"
+ ]
+ }
+ ],
+ "declaration-block-semicolon-newline-after": "always",
+ "block-opening-brace-newline-after": "always",
+ "selector-attribute-quotes": "always",
+ "selector-max-specificity": "0,5,2",
+ "selector-pseudo-class-no-unknown": [
+ true,
+ {
+ "ignorePseudoClasses": ["local", "global"]
+ }
+ ],
+ "at-rule-empty-line-before": [
+ "always",
+ {
+ "ignore": [
+ "after-comment",
+ "all-nested",
+ "blockless-group"
+ ]
+ }
+ ],
+ "indentation": [
+ 2,
+ {
+ "indentInsideParens": "once-at-root-twice-in-block"
+ }
+ ],
+ "max-nesting-depth": 3,
+ "no-duplicate-selectors": true,
+ "no-unknown-animations": true
+ }
+}