summaryrefslogtreecommitdiffstats
path: root/browser/components/newtab/.sass-lint.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /browser/components/newtab/.sass-lint.yml
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/newtab/.sass-lint.yml')
-rw-r--r--browser/components/newtab/.sass-lint.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/browser/components/newtab/.sass-lint.yml b/browser/components/newtab/.sass-lint.yml
new file mode 100644
index 0000000000..bb7a68d3eb
--- /dev/null
+++ b/browser/components/newtab/.sass-lint.yml
@@ -0,0 +1,27 @@
+options:
+ merge-default-rules: true
+ max-warnings: 0
+
+files:
+ include: 'content-src/**/*.scss'
+
+rules:
+ class-name-format: 0
+ extends-before-declarations: 2
+ extends-before-mixins: 2
+ force-element-nesting: 0
+ force-pseudo-nesting: 0
+ hex-notation: [2, {style: uppercase}]
+ indentation: [2, {size: 2}]
+ leading-zero: [2, {include: true}]
+ mixins-before-declarations: [2, {exclude: [breakpoint, mq]}]
+ nesting-depth: [2, {max-depth: 4}]
+ no-debug: 1
+ no-disallowed-properties: [1, {properties: [margin-left, margin-right, text-transform]}]
+ no-duplicate-properties: 2
+ no-misspelled-properties: [2, {extra-properties: [-moz-context-properties]}]
+ no-url-domains: 0
+ no-vendor-prefixes: 0
+ no-warn: 1
+ placeholder-in-extend: 2
+ property-sort-order: 0