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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
86dcb043
Commit
86dcb043
authored
Apr 26, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make stylelint config a valid JSON file
parent
8a07d5e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
.stylelintrc
.stylelintrc
+4
-4
No files found.
.stylelintrc
View file @
86dcb043
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"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",
"stylelint-scss"
,
"stylelint-scss"
],
],
"rules":{
"rules":{
"at-rule-blacklist":[
"at-rule-blacklist":[
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
{
{
"message":"Selector should be written in lowercase with hyphens (selector-class-pattern)",
"message":"Selector should be written in lowercase with hyphens (selector-class-pattern)",
"severity": "warning"
"severity": "warning"
}
,
}
],
],
"selector-list-comma-newline-after":"always",
"selector-list-comma-newline-after":"always",
"selector-max-compound-selectors":[3, { "severity": "warning" }],
"selector-max-compound-selectors":[3, { "severity": "warning" }],
...
@@ -104,8 +104,8 @@
...
@@ -104,8 +104,8 @@
"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" }]
}
}
}
}
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