Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does 'LHS' mean in a message from the ESLint plugin for Vue.js?

A message from the official ESLint plugin for Vue.js says:

'v-model' directives require the attribute value which is valid as LHS.

An example which triggers that message is

<input v-model="foo() + bar()">

What does LHS mean?

like image 429
Mr.Yeah Avatar asked Jan 24 '19 10:01

Mr.Yeah


People also ask

What is ESLint in VUE JS?

ESLint editor integrations are useful to check your code in real-time. Status of Vue.js 3.x supports. This plugin supports the basic syntax of Vue. js 3.2, <script setup> , and CSS variable injection, but the ref sugar, an experimental feature of Vue. js 3.2, is not yet supported.

How do you use ESLint Vue?

Running ESLint from the command line If you want to run eslint from the command line, make sure you include the . vue extension using the --ext option or a glob pattern, because ESLint targets only . js files by default. If you installed @vue/cli-plugin-eslint , you should have the lint script added to your package.

How do I turn off ESLint plugin Vue?

To disable ESLint in Vue CLI, we just remove the @vue/cli-plugin-eslint package from the Vue CLI project. to remove the @vue/cli-plugin-eslint package, which will disable ESLint in the Vue CLI project.


1 Answers

lhs is short for left hand side

like image 79
wishmaster Avatar answered Sep 21 '22 15:09

wishmaster