V
V
Viktor2020-09-04 11:07:17
Building projects
Viktor, 2020-09-04 11:07:17

Build VUE project ignoring errors?

Hello.
Tell me how to build an application build on VUE with ignoring errors.
I received a project for revision, in which there are a lot of errors. I completed my task, but I can’t build the project, because. there are unused variables and components.
eslint-loader - swears at unused variables.
How to build production with ignoring these errors?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Darkhan Kamaliev, 2020-09-04
@VelkinVV

Turn off eslint, kamon

A
Aetae, 2020-09-04
@Aetae

https://www.npmjs.com/package/eslint-plugin-only-warn
It's impossible to work with eslint without this crap. What the hell every little thing in it comes by default as an error, and not a warning - a mystery.
Another thing is what exactly for the assembly of the sale, I just disable this plugin. Because clean code should go into production.

V
Viktor, 2020-09-04
@VelkinVV

Thanks to all. I created a file in the root of the .eslintignore project and wrote * in it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question