nit: Format sass-lint (#44432)

This commit is contained in:
Clint Andrew Hall 2019-08-29 18:56:53 -04:00 committed by GitHub
parent 195be6022e
commit 11af058858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,29 +10,24 @@ files:
rules:
quotes:
- 2
-
style: 'single'
- style: 'single'
# } else { style on one line, like our JS
brace-style:
- 2
-
style: '1tbs'
- style: '1tbs'
variable-name-format:
- 2
-
convention: 'camelcase'
- convention: 'camelcase'
# Needs regex, right now we ignore
class-name-format: 0
# Order how you please
property-sort-order: 0
hex-notation:
- 2
-
style: 'uppercase'
- style: 'uppercase'
mixin-name-format:
- 2
-
allow-leading-underscore: false
- allow-leading-underscore: false
convention: 'camelcase'
# Use none instead of 0 for no border
border-zero:
@ -47,8 +42,7 @@ rules:
indentation: 2
function-name-format:
- 2
-
allow-leading-underscore: false
- allow-leading-underscore: false
convention: 'camelcase'
# This removes the need for ::hover
pseudo-element: 0
@ -62,23 +56,20 @@ rules:
force-attribute-nesting: 0
no-qualifying-elements:
- 2
-
# Allows input[type=search]
- # Allows input[type=search]
allow-element-with-attribute: 1
# Files can end without a newline
final-newline: 0
# We use some rare duplicate property values for browser variance
no-duplicate-properties:
- 2
-
exclude:
- exclude:
- 'font-size'
- 'word-break'
# Put a line-break between sections of CSS, but allow quicky one-liners for legibility
empty-line-between-blocks:
- 2
-
allow-single-line-rulesets: 1
- allow-single-line-rulesets: 1
# Warns are nice for deprecations and development
no-warn: 0
# Transition all is useful in certain situations and there's no recent info to suggest slowdown