Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d5e7549a
Commit
d5e7549a
authored
Feb 02, 2021
by
Vitaly Slobodin
Committed by
Natalia Tepluhina
Feb 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync scss-lint rules and stylelint
parent
c89d94e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
.stylelintrc
.stylelintrc
+17
-4
No files found.
.stylelintrc
View file @
d5e7549a
{
{
"ignoreFiles": [
"app/assets/stylesheets/pages/emojis.scss",
"app/assets/stylesheets/startup/startup-*.scss",
"app/assets/stylesheets/lazy_bundles/select2.scss",
"app/assets/stylesheets/highlight/themes/*.scss"
],
"plugins":[
"plugins":[
"./scripts/frontend/stylelint/stylelint-duplicate-selectors.js",
"./scripts/frontend/stylelint/stylelint-duplicate-selectors.js",
"./scripts/frontend/stylelint/stylelint-utility-classes.js",
"./scripts/frontend/stylelint/stylelint-utility-classes.js",
...
@@ -47,7 +53,7 @@
...
@@ -47,7 +53,7 @@
"indentation":2,
"indentation":2,
"length-zero-no-unit":true,
"length-zero-no-unit":true,
"max-nesting-depth":[
"max-nesting-depth":[
3
,
6
,
{
{
"ignoreAtRules":[
"ignoreAtRules":[
"each",
"each",
...
@@ -97,15 +103,22 @@
...
@@ -97,15 +103,22 @@
}
}
],
],
"selector-list-comma-newline-after":"always",
"selector-list-comma-newline-after":"always",
"selector-max-compound-selectors":[
3
, { "severity": "warning" }],
"selector-max-compound-selectors":[
6
, { "severity": "warning" }],
"selector-max-id":1,
"selector-max-id":1,
"selector-no-vendor-prefix":true,
"selector-no-vendor-prefix":true,
"selector-pseudo-element-colon-notation":"double",
"selector-pseudo-element-colon-notation":"double",
"selector-pseudo-element-no-unknown":true,
"selector-pseudo-element-no-unknown":true,
"shorthand-property-no-redundant-values":true,
"shorthand-property-no-redundant-values":true,
"string-quotes":"single",
"string-quotes":"single",
"value-no-vendor-prefix":[true, { "ignoreValues": ["sticky"] }],
"value-no-vendor-prefix":
[true, { "ignoreValues": ["sticky"] }],
"stylelint-gitlab/duplicate-selectors":[true,{ "severity": "warning" }],
"stylelint-gitlab/duplicate-selectors":[true,{ "severity": "warning" }],
"stylelint-gitlab/utility-classes":[true,{ "severity": "warning" }]
"stylelint-gitlab/utility-classes":[true,{ "severity": "warning" }],
"declaration-block-no-duplicate-properties": [
true,
{
"ignore": ["consecutive-duplicates"]
}
],
"no-eol-whitespace": true,
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment