diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-28 16:41:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-28 17:53:57 +0200 |
commit | 931d3430184143ebd88e5243def6eb1d7acfdbf4 (patch) | |
tree | 909919bafd6fa8563d26d616c6257ebd0211c83c /client/.stylelintrc.json | |
parent | 7d026caf683e42fd57a243a3b52a5e4f476fbb4e (diff) | |
download | PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.tar.gz PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.tar.zst PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.zip |
Move to stylelint
Diffstat (limited to 'client/.stylelintrc.json')
-rw-r--r-- | client/.stylelintrc.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/client/.stylelintrc.json b/client/.stylelintrc.json new file mode 100644 index 000000000..25f0b1002 --- /dev/null +++ b/client/.stylelintrc.json | |||
@@ -0,0 +1,29 @@ | |||
1 | { | ||
2 | "extends": "stylelint-config-sass-guidelines", | ||
3 | "rules": { | ||
4 | "scss/at-import-no-partial-leading-underscore": null, | ||
5 | "color-hex-case": null, | ||
6 | "color-hex-length": null, | ||
7 | "order/properties-alphabetical-order": null, | ||
8 | "selector-pseudo-element-no-unknown": [ | ||
9 | true, | ||
10 | { | ||
11 | "ignorePseudoElements": [ "ng-deep" ] | ||
12 | } | ||
13 | ], | ||
14 | "max-nesting-depth": [ | ||
15 | 8, | ||
16 | { | ||
17 | "ignore": [ "blockless-at-rules", "pseudo-classes" ] | ||
18 | } | ||
19 | ], | ||
20 | "selector-max-compound-selectors": 9, | ||
21 | "selector-no-qualifying-type": null, | ||
22 | "scss/at-extend-no-missing-placeholder": null, | ||
23 | "number-leading-zero": null, | ||
24 | "rule-empty-line-before": null, | ||
25 | "selector-max-id": null, | ||
26 | "scss/at-function-pattern": null, | ||
27 | "function-parentheses-space-inside": "never-single-line" | ||
28 | } | ||
29 | } | ||