##ESLint配置信息完整版
#####说明:
"no-undef": 0,和"no-undef": 'off',一样,表示关闭该功能
"no-undef": 1, 表示仅提示
"no-undef"...: 2, 表示报错
####配置信息(来自网络)
“no-alert”: 0,//禁止使用alert confirm prompt
“no-array-constructor”: 2,//禁止使用数组构造器...)
“no-proto”: 2,//禁止使用__proto__属性
“no-redeclare”: 2,//禁止重复声明变量
“no-regex-spaces”: 2,//禁止在正则表达式字面量中使用多个空格...space-unary-ops”: [0, { “words”: true, “nonwords”: false }],//一元运算符的前/后要不要加空格
“spaced-comment”: 0,//注释风格要不要有空格什么的