-
-
Notifications
You must be signed in to change notification settings - Fork 731
Labels
A-CLIArea: CLIArea: CLIS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug
Description
Environment information
CLI:
Version: 2.3.0
Color support: true
Platform:
CPU Architecture: x86_64
OS: macos
Environment:
BIOME_LOG_PATH: unset
BIOME_LOG_PREFIX_NAME: unset
BIOME_CONFIG_PATH: unset
BIOME_THREADS: unset
NO_COLOR: unset
TERM: screen-256color
JS_RUNTIME_VERSION: v24.10.0
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: pnpm/10.19.0
Biome Configuration:
Status: Loaded successfully
Path: biome.json
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: true
Workspace:
Open Documents: 0
What happened?
In #7835 I discovered that tailwindDirectives does not work with pnpm biome ci, however a separate issue seems to be that the biome ci command doesn't respect --css-linter-enabled=false --css-formatter-enabled=false so its not possible to turn off CSS linting when using the biome ci command.
Example:
$ pnpm biome ci --css-linter-enabled=false --css-formatter-enabled=false
src/styles/global.css:3:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ Tailwind-specific syntax is disabled.
1 │ @import "tailwindcss";
2 │
> 3 │ @config "../../tailwind.config.ts";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 │
5 │ @theme inline {
ℹ Enable `tailwindDirectives` in the css parser options, or remove this if you are not using Tailwind CSS.
src/styles/global.css:5:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ Tailwind-specific syntax is disabled.
3 │ @config "../../tailwind.config.ts";
4 │
> 5 │ @theme inline {
│ ^^^^^^^^^^^^^^
> 6 │ /* Section 1: Colors */
...
> 43 │ */
> 44 │ }
│ ^
45 │
46 │ /*
ℹ Enable `tailwindDirectives` in the css parser options, or remove this if you are not using Tailwind CSS.
src/styles/global.css:288:6 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ Tailwind-specific syntax is disabled.
286 │ @layer base {
287 │ * {
> 288 │ @apply border-border;
│ ^^^^^^^^^^^^^^^^^^^^
289 │ }
290 │ body {
ℹ Enable `tailwindDirectives` in the css parser options, or remove this if you are not using Tailwind CSS.
src/styles/global.css:291:6 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ Tailwind-specific syntax is disabled.
289 │ }
290 │ body {
> 291 │ @apply bg-base text-color;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
292 │ }
293 │ input[type="number"]::-webkit-inner-spin-button,
ℹ Enable `tailwindDirectives` in the css parser options, or remove this if you are not using Tailwind CSS.
Checked 1101 files in 667ms. No fixes applied.
Found 4 errors.
ci ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ Some errors were emitted while running checks.Expected result
For pnpm biome ci --css-linter-enabled=false --css-formatter-enabled=false to not run any CSS related checks.
Code of Conduct
- I agree to follow Biome's Code of Conduct
Pascalmhmareksupruniuk
Metadata
Metadata
Assignees
Labels
A-CLIArea: CLIArea: CLIS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug