aboutsummaryrefslogtreecommitdiffhomepage
path: root/.sass-lint.yml
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-05-12 17:28:37 +0200
committerChocobozzz <me@florianbigard.com>2018-05-13 16:54:34 +0200
commit4de2fafcad4b56449e3817825d4b317c5ed4696c (patch)
treec8a6002b8eca016b2c5124083bde309f97c2ea2f /.sass-lint.yml
parent48d46d81af93d0912022e96958f131c5f8acdfc2 (diff)
downloadPeerTube-4de2fafcad4b56449e3817825d4b317c5ed4696c.tar.gz
PeerTube-4de2fafcad4b56449e3817825d4b317c5ed4696c.tar.zst
PeerTube-4de2fafcad4b56449e3817825d4b317c5ed4696c.zip
added linter and prettifier via commit hooks
Diffstat (limited to '.sass-lint.yml')
-rw-r--r--.sass-lint.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.sass-lint.yml b/.sass-lint.yml
new file mode 100644
index 000000000..55a487138
--- /dev/null
+++ b/.sass-lint.yml
@@ -0,0 +1,25 @@
1files:
2 include: "**/*.s+(a|c)ss"
3 ignore: [
4 "node_modules/**/*.*",
5 "client/node_modules/**/*.*"
6 ]
7syntax:
8 include:
9 - scss
10 - sass
11rules:
12 property-sort-order: 0
13 attribute-quotes: 0
14 border-zero: 0
15 no-color-keywords: 0
16 no-css-comments: 0
17 no-important: 0
18 no-trailing-zero: 1
19 space-after-bang: 1
20 space-before-bang: 1
21 space-after-colon: 1
22 space-before-colon: 1
23 hex-length: 1
24 hex-notation: 0
25 indentation: 1