Eslint less reported an error, but Baidu and Google could not find the answer.

as you can see in the picture, it indicates that there is something wrong with the symbol, but it doesn"t say what the problem is, it can be said to be very broken.

[less] semi-colon expected
[less] {expected
[less] at-rule or selector expected

Jun.21,2021

configuration in setting.json

"files.associations": {
    "*.vue": "vue"
},

<style type="text/less" lang="less" scoped>
</style>

check whether the colon is in English, Chinese will report an error


solution, open vscode settings, find USER Setting's json configuration file, recognize vue as html and delete

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf4216-31ebf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf4216-31ebf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?