Skip to content

Commit

Permalink
ci: move stylelint to codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Nov 22, 2024
1 parent 4782161 commit dde4c04
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 63 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/style-lint.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"ignoreFiles": ["_sass/vendor/**"],
"extends": "stylelint-config-standard-scss",
"rules": {
"no-descending-specificity": null,
"shorthand-property-no-redundant-values": null,
"at-rule-no-vendor-prefix": null,
"property-no-vendor-prefix": null,
"selector-no-vendor-prefix": null,
"value-no-vendor-prefix": null,
"color-function-notation": "legacy",
"alpha-value-notation": "number",
"selector-not-notation": "simple",
"color-hex-length": "long",
"declaration-block-single-line-max-declarations": 3,
"scss/operator-no-newline-after": null,
"rule-empty-line-before": [
"always",
{
"ignore": ["after-comment", "first-nested"]
}
],
"value-keyword-case": [
"lower",
{
"ignoreProperties": ["/^\\$/"]
}
],
"media-feature-range-notation": "prefix"
}
}
38 changes: 0 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,44 +68,6 @@
]
}
},
"stylelint": {
"ignoreFiles": [
"_sass/vendor/**"
],
"extends": "stylelint-config-standard-scss",
"rules": {
"no-descending-specificity": null,
"shorthand-property-no-redundant-values": null,
"at-rule-no-vendor-prefix": null,
"property-no-vendor-prefix": null,
"selector-no-vendor-prefix": null,
"value-no-vendor-prefix": null,
"color-function-notation": "legacy",
"alpha-value-notation": "number",
"selector-not-notation": "simple",
"color-hex-length": "long",
"declaration-block-single-line-max-declarations": 3,
"scss/operator-no-newline-after": null,
"rule-empty-line-before": [
"always",
{
"ignore": [
"after-comment",
"first-nested"
]
}
],
"value-keyword-case": [
"lower",
{
"ignoreProperties": [
"/^\\$/"
]
}
],
"media-feature-range-notation": "prefix"
}
},
"release": {
"branches": [
"production"
Expand Down

0 comments on commit dde4c04

Please sign in to comment.