Commit dbd1ffff authored by 武广's avatar 武广

fix: 修改 eslint 校验 &&

parent 5027e0f2
...@@ -14,5 +14,6 @@ module.exports = { ...@@ -14,5 +14,6 @@ module.exports = {
'@typescript-eslint/no-unused-vars': ['off'], '@typescript-eslint/no-unused-vars': ['off'],
'import/no-unresolved': 0, 'import/no-unresolved': 0,
'import/extensions': 0, 'import/extensions': 0,
'no-unused-expressions': ['error', { allowShortCircuit: true }],
}, },
}; };
...@@ -28,7 +28,6 @@ const FormRuleSetting = forwardRef((props, ref) => { ...@@ -28,7 +28,6 @@ const FormRuleSetting = forwardRef((props, ref) => {
const getIsInShops = arr => { const getIsInShops = arr => {
const list = []; const list = [];
arr.forEach(item => { arr.forEach(item => {
// eslint-disable-next-line no-unused-expressions
supplierIdList.some(s => +s.id === +item) && list.push(item); supplierIdList.some(s => +s.id === +item) && list.push(item);
}); });
return list; return list;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment