Func style allowing arrow (#461)

* eslint func-style rule added to server

* eslint func-style rule added to front-end
This commit is contained in:
Morning1139Angel
2023-06-29 21:49:03 +03:30
committed by GitHub
parent 097b278b11
commit 695ddd7a92
3 changed files with 5 additions and 3 deletions

View File

@ -21,5 +21,6 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'func-style':['error', 'declaration', { 'allowArrowFunctions': true }],
},
};