Add stylelint to avoid warning on Tailwind's @rules

This commit is contained in:
2020-10-28 18:11:54 +01:00
parent b3bcedbc44
commit 0f7ef825e3
4 changed files with 32 additions and 0 deletions

13
stylelint.config.js Normal file
View File

@@ -0,0 +1,13 @@
module.exports = {
extends: ["stylelint-config-recommended"],
rules: {
"at-rule-no-unknown": [
true,
{
ignoreAtRules: ["tailwind", "apply", "variants", "responsive", "screen"]
}
],
"declaration-block-trailing-semicolon": null,
"no-descending-specificity": null
}
};