lib/sql-manager/index.js
Function _whereBuilder
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_whereBuilder (query, builder) {
let conditions = Object.entries(query.conditions)
const whereNots = conditions
.filter(([ prop, { type } ]) => type === 'notEqualTo')
conditions = conditions
Parsing error: Unexpected token { Invalid
Invalid
} catch {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/