简体   繁体   中英

How to configure the linter for formatting space between {{or}} and variables

I have to configure the linter rules, so that it can detect space in html between "{{ value }}"

for example, this would be ok
<div>{{ value }}</div>
and the error would be wrong
<div>{{value}}</div>

I use: eslint-plugin-vue: 5.2.2

What rule is responsible for it?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM