eslint / eslint/css

Bug: css/no-invalid-at-rules doesn't recognize font-variant-numeric and font-feature-settings

Open
#433 1 comment 0 reactions 1 assignee Claimed by @DMartens View on GitHub
bug css-tree
Dominant language
JavaScript
Stars
308
Forks
44
Avg merge
2d 6h
Merged PRs (30d)
18

Description

### Environment

Node version: 24.14.0
pnpm version: 11.0.0
Local ESLint version: 10.2.1
@eslint/css version: 1.1.0
Operating System: macOS

### What parser are you using?

@typescript-eslint/parser

### What did you do?

In a project using latest tailwind version I have a global app.css where I defined new tailwind @utility

```
@utility font-mono {
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum";
}
```

### What did you expect to happen?

No error

### What actually happened?

errors:
css/no-invalid-at-rules: Unknown descriptor 'font-variant-numeric' found for at-rule '@utility'
css/no-invalid-at-rules: Unknown descriptor 'font-feature-settings' found for at-rule '@utility'

### Link to Minimal Reproducible Example

-

### Participation

- [ ] I am willing to submit a pull request for this issue.

### AI acknowledgment

- [x] I did not use AI to generate this issue report.
- [ ] (If the above is not checked) I have reviewed the AI-generated content before submitting.

### Additional comments

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.