feat: add Authentication Page

This commit is contained in:
Chen, Tai-Lin committed 2023-09-01 18:32:24 +08:00
1 parent 9da4d4edaa
commit b41343ed68
8 files changed
+159 -9

No files matched your search

+4 -1
View File
@@ -15,12 +15,15 @@ module.exports = {
sourceType: 'module',
},
rules: {
'prettier/prettier': ['error', { endOfLine: 'auto', semi: false }], // We added this
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'import/extensions': 'off',
camelcase: ['error', { properties: 'never', ignoreDestructuring: true }],
'no-param-reassign': ['error', { props: false }],
'no-underscore-dangle': ['error', { allow: ['_id'] }],
/* we added this */
'no-var': 'error',
'no-plusplus': 'off',
'prettier/prettier': ['error', { endOfLine: 'auto', semi: false }],
},
}