UNPKG

eslint-config-alloy

Version:
11 lines (10 loc) 324 B
module.exports = { rules: { /** * 禁止混用不同的操作符,比如 let foo = a && b < 0 || c > 0 || d + 1 === 0 * @category Stylistic Issues * @reason 太严格了,可以由使用者自己去判断如何混用操作符 */ 'no-mixed-operators': 'off' } };