2

我正在尝试使用bin/watch-administration.sh,但由于第三方插件中的 linting 错误,编译失败。

如何禁用 ESLint?

4

1 回答 1

3

为了在任一期间禁用 ESLint,或者bin/watch-administration.sh可以在项目文件中设置bin/watch-storefront.sh环境变量:ESLINT_DISABLEtrue.env

ESLINT_DISABLE=true
于 2021-11-08T17:24:00.927 回答