Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS: Layout using named grid lines #3055

Closed
1 task done
mariopiz-tipico opened this issue Jun 4, 2024 · 1 comment · Fixed by #3131 or abdulrahman305/continue#2 · May be fixed by ramzimalhas/popclipweb#3, Ramyromel/mesc#2 or Ramyromel/mesc#6
Closed
1 task done

CSS: Layout using named grid lines #3055

mariopiz-tipico opened this issue Jun 4, 2024 · 1 comment · Fixed by #3131 or abdulrahman305/continue#2 · May be fixed by ramzimalhas/popclipweb#3, Ramyromel/mesc#2 or Ramyromel/mesc#6
Assignees
Labels
A-Parser Area: parser L-CSS Language: CSS S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@mariopiz-tipico
Copy link

Environment information

CLI:
  Version:                      1.8.0
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.14.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/10.8.1"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Linter:
  JavaScript enabled:           true
  JSON enabled:                 true
  CSS enabled:                  false
  Recommended:                  true
  All:                          false

Rule name

Unexpected value or character

Playground link

https://biomejs.dev/playground/?code=OgBoAG8AcwB0ACAAewAKACAAIAAtAC0AYwBvAGwAdQBtAG4AcwA6ACAAWwBmAHUAbABsAC0AcwB0AGEAcgB0AF0AIAAxAGYAcgAgAFsAbQBhAGkAbgAtAHMAdABhAHIAdABdACAANAA4ADAAcAB4ACAAWwBtAGEAaQBuAC0AZQBuAGQAXQAgADEAZgByACAAWwBmAHUAbABsAC0AZQBuAGQAXQA7AAoAfQAKAA%3D%3D

Expected result

This CSS is fine and Biome should accept it as it did in versions prior 1.8.0

:host {
  --columns: [full-start] 1fr [main-start] 480px [main-end] 1fr [full-end];
}

Biome linter error:

✖ Unexpected value or character.

  --columns: [full-start] 1fr [main-start] 480px [main-end] 1fr [full-end];
  
ℹ Expected one of:

  - identifier
  - string
  - number
  - dimension
  - ratio
  - custom property
  - function

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@ckken
Copy link

ckken commented Jun 4, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment