Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 25c4c00

Browse files
author
Jamie Snape
committed
Add scss-lint configuration
1 parent 02e0bbb commit 25c4c00

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.scss-lint.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#=============================================================================
2+
# Midas Server
3+
# Copyright Kitware SAS, 26 rue Louis Guérin, 69100 Villeurbanne, France.
4+
# All rights reserved.
5+
# For more information visit http://www.kitware.com/.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0.txt
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#=============================================================================
19+
20+
---
21+
scss_files: '**/public/scss/*.scss'
22+
23+
exclude:
24+
- '**/public/**/*.css'
25+
- 'core/public/scss/mixins/**'
26+
- 'vendor/**'
27+
28+
linters:
29+
ColorVariable:
30+
enabled: false
31+
32+
HexNotation:
33+
style: uppercase
34+
35+
IdSelector:
36+
enabled: false
37+
38+
ImportantRule:
39+
enabled: false
40+
41+
Indentation:
42+
width: 4
43+
44+
NestingDepth:
45+
max_depth: 4
46+
47+
QualifyingElement:
48+
enabled: false
49+
50+
SelectorDepth:
51+
max_depth: 4
52+
53+
SelectorFormat:
54+
convention: camel_case

0 commit comments

Comments
 (0)