如何禁用 ESLint 中的所有默认规则?它显示在此页面http://eslint.org/docs/user-guide/command-line-interface上,您可以使用--reset
但当我这样做时:
$ eslint --global globalVar --reset --rule 'no-undef: 2' main.js
Invalid option '--reset' - perhaps you meant '--quiet'?
如何禁用 ESLint 中的所有默认规则?它显示在此页面http://eslint.org/docs/user-guide/command-line-interface上,您可以使用--reset
但当我这样做时:
$ eslint --global globalVar --reset --rule 'no-undef: 2' main.js
Invalid option '--reset' - perhaps you meant '--quiet'?