ESLint: disable all default rules
How to disable all default rules in ESLint? It shows on this page http://eslint.org/docs/user-guide/command-line-interface what you can use --reset
, but when I do:
$ eslint --global globalVar --reset --rule 'no-undef: 2' main.js
Invalid option '--reset' - perhaps you meant '--quiet'?
+3
source to share