Skip to content

Commit 7733a83

Browse files
author
Darius Rosendahl
committed
changed lint rules, changed docs to normal border-radius
1 parent 1d2483d commit 7733a83

File tree

2 files changed

+28
-8
lines changed

2 files changed

+28
-8
lines changed

sass-lint.yml

+24-5
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,24 @@ options:
1515
files:
1616
include: 'scss/**/*.s+(a|c)ss'
1717
ignore:
18-
- 'sass/vendor/**/*.*'
18+
- 'sass/layout/docs_code.scss'
1919
# Rule Configuration
2020
rules:
21+
max-depth: 2
2122
extends-before-mixins: 2
2223
extends-before-declarations: 2
2324
placeholder-in-extend: 2
2425
mixins-before-declarations:
25-
- 2
26+
- 0
2627
-
2728
exclude:
2829
- breakpoint
2930
- mq
3031

3132
no-warn: 1
3233
no-debug: 1
33-
no-ids: 2
34-
no-important: 2
34+
no-ids: 1
35+
no-important: 1
3536
hex-notation:
3637
- 2
3738
-
@@ -46,15 +47,33 @@ rules:
4647
order:
4748
- content
4849
- display
50+
- flex-direction
51+
- align-items
52+
- justify-content
53+
- overflow
54+
- overflow-x
55+
- overflow-y
4956
- margin
57+
- margin-top
58+
- margin-right
59+
- margin-bottom
60+
- margin-left
5061
- padding
62+
- padding-top
63+
- padding-right
64+
- padding-bottom
65+
- padding-left
66+
- min-width
5167
- width
68+
- min-height
5269
- height
70+
- vertical-align
5371
- white-space
5472
- font
5573
- font-style
5674
- font-size
5775
- font-weight
76+
- text-align
5877
- text-transform
5978
- font-decoration
6079
- color
@@ -64,7 +83,7 @@ rules:
6483
- border-radius
6584
ignore-custom-properties: true
6685
variable-for-property:
67-
- 2
86+
- 0
6887
-
6988
properties:
7089
- margin

scss/layout/docs_code.scss

+4-3
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ table {
8383
* @license
8484
* Dual licensed under the MIT and GPL licenses.
8585
*/
86+
// sasslint:disable-all
8687
.syntaxhighlighter a,
8788
.syntaxhighlighter div,
8889
.syntaxhighlighter code,
@@ -93,9 +94,7 @@ table {
9394
.syntaxhighlighter table thead,
9495
.syntaxhighlighter table caption,
9596
.syntaxhighlighter textarea {
96-
-moz-border-radius: 0 0 0 0 !important;
97-
-webkit-border-radius: 0 0 0 0 !important;
98-
background: none !important;
97+
background: none !important;
9998
border: 0 !important;
10099
bottom: auto !important;
101100
float: none !important;
@@ -119,6 +118,7 @@ table {
119118
font-size: 1em !important;
120119
min-height: inherit !important;
121120
min-height: auto !important;
121+
border-radius: 0 !important;
122122
}
123123

124124
.syntaxhighlighter {
@@ -395,3 +395,4 @@ table {
395395
.syntaxhighlighter .keyword {
396396
font-weight: bold !important;
397397
}
398+
// sass-lint:enable-all

0 commit comments

Comments
 (0)