# Less variables trigger false positive as unknown CSS at-rule

**URL:** <https://community.sonarsource.com/t/less-variables-trigger-false-positive-as-unknown-css-at-rule/98392>\
**Category:** SonarQube Server / Community Build\
**Tags:** css\
**Created:** [August 30, 2023, 5:25pm UTC](https://community.sonarsource.com/t/less-variables-trigger-false-positive-as-unknown-css-at-rule/98392 "2023-08-30T17:25:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjbane](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/sanjbane/32/48766_2.png) [@sanjbane](https://community.sonarsource.com/u/sanjbane)\
**Post date:** [August 30, 2023, 5:25pm UTC](https://community.sonarsource.com/t/less-variables-trigger-false-positive-as-unknown-css-at-rule/98392/1 "2023-08-30T17:25:13Z")

</div>

Sonarqube - v8.9.8, default CSS plugin  
Running scan on js/css/less files, rule firing when it is not supposed to.  
Less definition as below:  
`@sortBackgroundCellLight: @selectedCell;`  
Error seen from SonarQube:  
`Unexpected unknown at-rule "@sortBackgroundCellLight:"`

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [August 31, 2023, 6:58am UTC](https://community.sonarsource.com/t/less-variables-trigger-false-positive-as-unknown-css-at-rule/98392/2 "2023-08-31T06:58:31Z")

</div>

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

> 8.9.8 → 9.9.1 → 10.1 (last step optional)

You may find these resources helpful:

- [Upgrade Guide](https://docs.sonarqube.org/latest/setup/upgrading/)
- [LTS-to-LTS Upgrade Notes for 7.9 to 8.9](https://docs.sonarqube.org/8.9/setup/lts-to-lts-upgrade-notes/)
- [LTS to LTS release upgrade notes for 8.9 to 9.9](https://docs.sonarqube.org/9.9/setup-and-upgrade/lts-to-lts-release-upgrade-notes/)

If you have questions about upgrading, feel free to open a new thread for that [here](https://community.sonarsource.com/c/sq/9-9-lts-upgrade/47).

If your error persists after upgrade, please come back to us.
