module.exports = { 'extends': './base', 'rules': { 'no-magic-numbers': ['warn', { 'ignore': [-1, -0.5, 0, 0.001, 0.5, 1, 2, 10, 100, 180, 360, 1000], 'detectObjects': true, }], // `testing-library/no-node-access` is currently broken and gives false // positives on mock implementations that use `props.children`. 'testing-library/no-node-access': 'off', }, 'overrides': [ { 'files': '*.test.js', 'rules': { 'no-magic-numbers': 'off', }, }, ], }