问题:
How do I go about disabling ESlint
in project generated with vue-cli
?如何在使用vue-cli
生成的项目中禁用ESlint
?
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.如果我删除loader: 'eslint'
行,它将无法编译,与将其设置为空字符串相同。 I know I can opt out of ESLint
during the initialization phase, but how can I disable it after my project has been created?我知道我可以在初始化阶段选择退出ESLint
,但是在我的项目创建后如何禁用它?