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

Fix function-calc-no-unspaced-operator TypeError on empty calc() #6633

Closed
romainmenke opened this issue Feb 10, 2023 · 0 comments · Fixed by #6634
Closed

Fix function-calc-no-unspaced-operator TypeError on empty calc() #6633

romainmenke opened this issue Feb 10, 2023 · 0 comments · Fixed by #6634
Labels
status: wip is being worked on by someone type: bug a problem with a feature or rule

Comments

@romainmenke
Copy link
Member

What steps are needed to reproduce the bug?

foo {
  width: calc();
}

What Stylelint configuration is needed to reproduce the bug?

{
  "function-calc-no-unspaced-operator": true
}

How did you run Stylelint?

CLI / VSCode extension

Which version of Stylelint are you using?

15.0.0

What did you expect to happen?

No exception when running stylelint

What actually happened?

An exception was thrown.

Does the bug relate to non-standard syntax?

No response

Proposal to fix the bug

No response

@jeddy3 jeddy3 changed the title function-calc-no-unspaced-operator throws on empty calc() Fix function-calc-no-unspaced-operator TypeError on empty calc() Feb 10, 2023
@jeddy3 jeddy3 added status: ready to implement is ready to be worked on by someone type: bug a problem with a feature or rule status: wip is being worked on by someone and removed status: ready to implement is ready to be worked on by someone labels Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: wip is being worked on by someone type: bug a problem with a feature or rule
Development

Successfully merging a pull request may close this issue.

2 participants