Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
paragraphs-3227917
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
paragraphs-3227917
Commits
a77c240f
Commit
a77c240f
authored
6 years ago
by
Jacine Luisi
Committed by
Miro Dietiker
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2946939
by Jacine: Fix deprecated .stylelintrc.yml rules
parent
435e5593
No related branches found
Branches containing commit
Tags
8.x-1.3
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
css/.stylelintrc.yml
+6
-6
6 additions, 6 deletions
css/.stylelintrc.yml
with
6 additions
and
6 deletions
css/.stylelintrc.yml
+
6
−
6
View file @
a77c240f
...
...
@@ -35,7 +35,7 @@ rules:
#
# This order definition is taken from:
# - https://github.com/sasstools/sass-lint/blob/develop/lib/config/property-sort-orders/smacss.yml
order/
declaration-block-properties-specified
-order
:
order/
properties
-order
:
# Box
-
display
...
...
@@ -226,7 +226,7 @@ rules:
-
ignoreProperties
:
-
contain
# There is no reason that a specific ID would be needed for UI components
selector-
no
-id
:
true
selector-
max
-id
:
0
# Qualifying types are not needed when using a naming system like BEM
selector-no-qualifying-type
:
true
# In general, we should *never* be modifying elements within our components, since we can't
...
...
@@ -235,12 +235,12 @@ rules:
# we want our UI components within that fieldset to be disabled as well.
# Other exceptions to this may be in packages/material-components-web, in which case this rule could
# be disabled for that file, with an explanation.
selector-
no
-type
:
-
true
selector-
max
-type
:
-
0
-
ignoreTypes
:
-
fieldset
# Styles for components should never need the universal selector.
selector-
no
-universal
:
true
selector-
max
-universal
:
0
# Ensure any defined symbols are prefixed with "mdc-"
# TODO: Remove "md-" pattern.
#custom-media-pattern: ^mdc?-.+
...
...
@@ -291,4 +291,4 @@ rules:
scss/at-import-no-partial-leading-underscore
:
true
# Since mixins are explicit (`@include`) and parens are unnecessary for argumentless mixins, they
# can be omitted.
scss/at-mixin-
no-
argumentless-call-parentheses
:
true
scss/at-mixin-argumentless-call-parentheses
:
never
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment