summaryrefslogtreecommitdiffstats
path: root/browser/components/newtab/.sass-lint.yml
diff options
context:
space:
mode:
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