packages/sequelize-transparent-cache/src/cache/util.js
Function restoreTimestamps
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function restoreTimestamps (data, instance) {
const timestampFields = ['createdAt', 'updatedAt', 'deletedAt']
for (const field of timestampFields) {
const value = data[field]
Definition for rule 'jest/valid-expect' was not found Open
Open
function instanceToData (instance) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'jest/no-disabled-tests' was not found Open
Open
function instanceToData (instance) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'jest/no-focused-tests' was not found Open
Open
function instanceToData (instance) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'jest/no-identical-title' was not found Open
Open
function instanceToData (instance) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/