mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-28 12:43:12 +08:00
[offers][feat] Enhance submit offers form (#366)
* [eslint] Replace no-shadow with typescript no-shadow * [offers][feat] Add auto scroll to top * [offers][feat] Add error messages for text input fields * [offers][fix] Add warning dialogs * [offers][fix] Auto change currency according to TC currency * [offers][fix] Add select error messages and fix date picker labels * [offers][fix] Fix console warnings
This commit is contained in:
@ -43,7 +43,7 @@ module.exports = {
|
||||
'no-else-return': [ERROR, { allowElseIf: false }],
|
||||
'no-extra-boolean-cast': ERROR,
|
||||
'no-lonely-if': ERROR,
|
||||
'no-shadow': ERROR,
|
||||
'no-shadow': OFF,
|
||||
'no-unused-vars': OFF, // Use @typescript-eslint/no-unused-vars instead.
|
||||
'object-shorthand': ERROR,
|
||||
'one-var': [ERROR, 'never'],
|
||||
@ -100,6 +100,7 @@ module.exports = {
|
||||
'@typescript-eslint/no-for-in-array': ERROR,
|
||||
'@typescript-eslint/no-non-null-assertion': OFF,
|
||||
'@typescript-eslint/no-unused-vars': [ERROR, { argsIgnorePattern: '^_' }],
|
||||
'@typescript-eslint/no-shadow': ERROR,
|
||||
'@typescript-eslint/prefer-optional-chain': ERROR,
|
||||
'@typescript-eslint/require-array-sort-compare': ERROR,
|
||||
'@typescript-eslint/restrict-plus-operands': ERROR,
|
||||
|
Reference in New Issue
Block a user