I’m having this error with tailwind
✘ sage ./public [9f42d1e1a9128bf8e6c6]
│
├─ ✘ error
│ [stylelint]
│ resources/styles/layouts/_header.scss
│ 7:5 Unexpected unknown at-rule “@screen” scss/at-rule-no-unknown
│
├─ entrypoints
│ ├─ app
│ │ └─ js/app.js 258.85 kB
│ └─ editor
│ └─ js/editor.js 226.83 kB
│
├─ assets
│
└─ compiled 116 modules in 2s 535ms
Here’s my stylelint
module.exports = {
extends: [
'@roots/sage/stylelint-config',
'@roots/bud-sass/stylelint-config',
'@roots/bud-tailwindcss/stylelint-config',
],
rules: {
'color-no-invalid-hex': true,
'no-empty-source': null,
'string-quotes': 'double',
'at-rule-no-unknown': [
true,
{
'ignoreAtRules': [
'tailwind',
'apply',
'responsive',
'variants',
'screen',
'extend',
'at-root',
'debug',
'warn',
'error',
'if',
'else',
'for',
'each',
'while',
'mixin',
'include',
'content',
'return',
'function',
'tailwind',
'apply',
'responsive',
'variants',
'screen',
],
},
],
},
}
and here’s my scss
.container-fluid {
@apply flex flex-col justify-between items-center;
@screen xl {
@apply flex-row;
}
}