DEV: Add stylelint config

This commit is contained in:
David Taylor 2024-11-20 16:05:01 +00:00 committed by Joffrey JAFFEUX
parent a21eefd142
commit 6d33d64995
2 changed files with 16 additions and 0 deletions

View File

@ -77,6 +77,10 @@ jobs:
if: ${{ !cancelled() }}
run: pnpm lint:hbs
- name: Stylelint
if: ${{ !cancelled() }}
run: pnpm lint:css
- name: English locale lint (core)
if: ${{ !cancelled() }}
run: bundle exec ruby script/i18n_lint.rb "config/**/locales/{client,server}.en.yml"

12
stylelint.config.mjs Normal file
View File

@ -0,0 +1,12 @@
export default {
extends: "stylelint-config-standard-scss",
rules: {
"selector-class-pattern": null,
"custom-property-pattern": null,
"no-descending-specificity": null,
"scss/load-no-partial-leading-underscore": null,
"selector-id-pattern": null,
"scss/dollar-variable-pattern": null,
"keyframes-name-pattern": null,
},
};