Solve the error problem of warnings potentially fixable with the `--fix` option when running a Vue project

Solve the error problem of warnings potentially fixable with the `--fix` option when running a Vue project

Problem: vue-cil3 runs with warnings potentially fixable with the `--fix` option.

Cause: There is a problem with the eslint settings when creating the project. You can fix it with the "--fix" option.

Solution: Change the following part: "lint": "vue-cli-service lint" to: eslint --fix --ext .js,.vue src

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Solution to Vue3.0 error Cannot find module'worker_threads'
  • Vue——Solving the error Computed property "****" was assigned to but it has no setter.
  • Solve the problem of Cannot find module 'chalk' error in Vue project

<<:  CSS Paint API: A CSS-like Drawing Board

>>:  Two simple menu navigation bar examples

Recommend

Summary of common Linux distribution mirror source configuration

I have been researching Linux recently and tried ...

Basic knowledge points of mysql worm replication

Worms replicate, as the name implies, by themselv...

Seven solutions for classic distributed transactions between MySQL and Golan

Table of contents 1. Basic theory 1.1 Transaction...

Example code for hiding element scrollbars using CSS

How can I hide the scrollbars while still being a...

Detailed tutorial on how to install mysql8.0 using Linux yum command

1. Do a good job of cleaning before installation ...

Detailed examples of float usage in HTML/CSS

1. Basic usage examples of float 1. Let's fir...

About the configuration problem of MyBatis connecting to MySql8.0 version

When learning mybatis, I encountered an error, th...

MySQL 8.0.11 MSI version installation and configuration graphic tutorial

This article shares the installation and configur...

Introduction to version management tool Rational ClearCase

Rational ClearCase is a software configuration ma...

What codes should I master when learning web page design?

This article introduces in detail some of the tech...

vite2.x implements on-demand loading of ant-design-vue@next components

1. Use version vite:2.0 ant-design-vue: 2.0.0-rc....

Implementation of Grid common layout

No gaps on both sides, gaps between each column w...

SVG+CSS3 to achieve a dynamic wave effect

A vector wave <svg viewBox="0 0 560 20&qu...

Several ways to shut down Hyper-V service under Windows 10

When using VMware Workstation to open a virtual m...