Errors: 2 https://google.com/#q=prettier%2Fprettier You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file. in vue js code example

Example 1: disable eslint for line

alert('foo'); // eslint-disable-line

// eslint-disable-next-line
alert('foo');

Example 2: eslint ignore current line

var thing = new Thing(); // eslint-disable-line no-use-before-define

// eslint-disable-next-line no-use-before-define
var thing = new Thing();

Tags:

Misc Example