diff --git a/eslint.config.mjs b/eslint.config.mjs index c9ea476601..956fedaaa5 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -82,6 +82,7 @@ export default [ 'no-return-assign': 'error', 'no-return-await': 'error', 'object-shorthand': ['error', 'always'], + 'prefer-const': 'error', 'prefer-destructuring': ['error', { VariableDeclarator: { object: true } }], quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: false }], 'react/display-name': 'off', // TODO: Delete this override