How do I go about disabling ESlint
in project generated with vue-cli
?
preLoaders: [
{
test: /.vue$/,
loader: 'eslint',
include: projectRoot,
exclude: /node_modules/
},
{
test: /.js$/,
loader: 'eslint',
include: projectRoot,
exclude: /node_modules/
}
]
If I remove the loader: 'eslint'
line it won't compile, same with setting it to an empty string. I know I can opt out of ESLint
during the initialization phase, but how can I disable it after my project has been created?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…