Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 14f444c

Browse files
committed
Enable PrivateNamingConvention scss-lint rule
Since we mention that prefixing names with underscores is an acceptable way to denote that they are private, we want to enforce that they are defined within the same file that they are used. The new PrivateNamingConvention rule in scss-lint is designed for this purpose.
1 parent 3f3c91c commit 14f444c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.scss-lint.yml

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ linters:
2121
NameFormat:
2222
enabled: true
2323

24+
PrivateNamingConvention:
25+
enabled: true
26+
prefix: _
27+
2428
PropertySortOrder:
2529
enabled: false
2630

0 commit comments

Comments
 (0)