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

Detailed explanation of Nginx timeout configuration

I recently used nginx in a project, and used Java...

Detailed configuration of Nginx supporting both Http and Https

It is almost a standard feature for websites nowa...

The images in HTML are directly replaced by base64 encoded strings

Recently, I came across a webpage that had images ...

Tips on setting HTML table borders

For many people who are new to HTML, table <ta...

An article to help you learn CSS3 picture borders

Using the CSS3 border-image property, you can set...

Summary of various postures of MySQL privilege escalation

Table of contents 1. Write Webshell into outfile ...

Usage of mysql timestamp

Preface: Timestamp fields are often used in MySQL...

Linux CentOS6.9 installation graphic tutorial under VMware

As a technical novice, I am recording the process...

Website User Experience Design (UE)

I just saw a post titled "Flow Theory and Des...

HTML dl, dt, dd tags to create a table vs. Table creation table

Not only does it reduce the cost of website develo...

MySQL database table partitioning considerations [recommended]

Table partitioning is different from database par...

Summary of the execution issues between mysql max and where

Execution problem between mysql max and where Exe...

Detailed tutorial on installing MySQL 8 in CentOS 7

Prepare Environmental information for this articl...

Analysis of the Neglected DOCTYPE Description

doctype is one of them: <!DOCTYPE HTML PUBLIC &...