🎨(frontend) Minor refactoring

- improve condition statements
- add "no-var" rule in eslint
- remove some unnecessary variables

Signed-off-by: Zorin95670 <moittie.vincent@gmail.com>
This commit is contained in:
Zorin95670
2025-05-07 12:04:08 +02:00
committed by Anthony LC
parent e5f029ad1d
commit 4d541c5d52
10 changed files with 11 additions and 26 deletions

View File

@@ -13,5 +13,5 @@ module.exports = {
rules: {
'@next/next/no-html-link-for-pages': 'off',
},
ignorePatterns: ['node_modules', '.eslintrc.js'],
ignorePatterns: ['node_modules'],
};

View File

@@ -1,4 +1,4 @@
var config = {
const config = {
rootDir: './__tests__',
testEnvironment: 'node',
transform: {