Skip to content

Commit

Permalink
chore: update eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanluongoe committed Jan 3, 2024
1 parent 935e5be commit c5cb9ba
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = {
'import/no-extraneous-dependencies': 'off',
'import/no-unresolved': 'off',
'import/prefer-default-export': 'off',
'default-param-last': 'off',
'no-nested-ternary': 'off',
'no-plusplus': 'off',
'no-unused-vars': 'off',
Expand All @@ -45,17 +46,8 @@ module.exports = {
'react/jsx-props-no-spreading': 'off',
'react/require-default-props': 'off',
'react/react-in-jsx-scope': 'off',
'typescript-sort-keys/interface': 'error',
'typescript-sort-keys/string-enum': 'error',
'unused-imports/no-unused-imports': 'error',
'prefer-arrow/prefer-arrow-functions': [
'error',
{
disallowPrototype: true,
singleReturnOnly: true,
classPropertiesAllowed: false,
},
],
'prefer-arrow/prefer-arrow-functions': 'off',
'sort-class-members/sort-class-members': [
'error',
{
Expand Down

0 comments on commit c5cb9ba

Please sign in to comment.