From 42eed05ae0211a0cfb04783182a769a4f5c6cd72 Mon Sep 17 00:00:00 2001 From: Elias Showk Date: Wed, 23 May 2018 15:15:55 +0200 Subject: [PATCH] adapt sass-lint rules to real usage --- .sass-lint.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.sass-lint.yml b/.sass-lint.yml index baf1442..f7ad807 100644 --- a/.sass-lint.yml +++ b/.sass-lint.yml @@ -10,7 +10,7 @@ options: # Output file instead of logging results output-file: 'linters/sass-lint.html' # Raise an error if more than 50 warnings are generated - max-warnings: 50 + max-warnings: 200 # File Options files: include: 'static/**/*.s+(a|c)ss' @@ -21,19 +21,25 @@ rules: extends-before-mixins: 2 extends-before-declarations: 2 placeholder-in-extend: 2 + no-debug: 2 + no-important: 2 + max-line-length: + - 1 + - + length: 100 + no-duplicate-properties: 1 + no-css-comments: 1 mixins-before-declarations: - - 2 + - 1 - exclude: - breakpoint - mq no-warn: 1 - no-debug: 1 - no-ids: 1 - no-important: 2 + no-ids: 0 hex-notation: - - 2 + - 1 - style: uppercase indentation: @@ -48,7 +54,7 @@ rules: - margin ignore-custom-properties: true variable-for-property: - - 2 + - 1 - properties: - margin -- 2.17.0