Minor improvements

This commit is contained in:
Tony Air 2022-06-24 00:09:05 +02:00
parent 75f404f249
commit abeb029acc

18
sass-lint.yml Normal file → Executable file
View File

@ -1,8 +1,8 @@
# sass-lint config to match the AirBNB style guide # sass-lint config to match the AirBNB style guide
files: files:
include: 'src/**/*.scss' include: "app/client/src/**/*.scss"
ignore: ignore:
- 'src/thirdparty/*' - "app/client/src/thirdparty/*"
options: options:
formatter: stylish formatter: stylish
merge-default-rules: false merge-default-rules: false
@ -23,10 +23,10 @@ rules:
no-misspelled-properties: no-misspelled-properties:
- 1 - 1
- extra-properties: - extra-properties:
- '-moz-border-radius-topleft' - "-moz-border-radius-topleft"
- '-moz-border-radius-topright' - "-moz-border-radius-topright"
- '-moz-border-radius-bottomleft' - "-moz-border-radius-bottomleft"
- '-moz-border-radius-bottomright' - "-moz-border-radius-bottomright"
variable-name-format: variable-name-format:
- 1 - 1
- allow-leading-underscore: true - allow-leading-underscore: true
@ -39,7 +39,7 @@ rules:
# Errors # Errors
# Things that can be easily fixed are marked as errors # Things that can be easily fixed are marked as errors
indentation: indentation:
- 4 - 2
- size: 4 - size: 4
final-newline: final-newline:
- 2 - 2
@ -47,7 +47,7 @@ rules:
no-trailing-whitespace: 2 no-trailing-whitespace: 2
border-zero: border-zero:
- 2 - 2
- convention: '0' - convention: "0"
brace-style: brace-style:
- 2 - 2
- allow-single-line: true - allow-single-line: true
@ -56,7 +56,7 @@ rules:
- filename-extension: false - filename-extension: false
- leading-underscore: true - leading-underscore: true
no-debug: 2 no-debug: 2
no-empty-rulesets: 2 no-empty-rulesets: 0
no-invalid-hex: 2 no-invalid-hex: 2
no-mergeable-selectors: 2 no-mergeable-selectors: 2
# no-qualifying-elements: # no-qualifying-elements: