Skip to content

Commit

Permalink
removed avoid anonymous function rule
Browse files Browse the repository at this point in the history
  • Loading branch information
gedu committed Apr 17, 2024
1 parent 393ae41 commit 4ba9022
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 260 deletions.
1 change: 0 additions & 1 deletion eslint-plugin-expensify/CONST.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ module.exports = {
ONYX_ONE_PARAM: 'The withOnyx HOC must be passed at least one argument.',
MUST_USE_VARIABLE_FOR_ASSIGNMENT: '{{key}} must be assigned as a variable instead of direct assignment.',
NO_DEFAULT_PROPS: 'defaultProps should not be used in function components. Use default Arguments instead.',
AVOID_ANONYMOUS_FUNCTIONS: 'Prefer named functions.',
USE_PERIODS_ERROR_MESSAGES: 'Use periods at the end of error messages.',
},
};
32 changes: 0 additions & 32 deletions eslint-plugin-expensify/avoid-anonymous-functions.js

This file was deleted.

226 changes: 0 additions & 226 deletions eslint-plugin-expensify/tests/avoid-anonymous-functions.test.js

This file was deleted.

1 change: 0 additions & 1 deletion rules/expensify.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module.exports = {
'rulesdir/no-call-actions-from-actions': 'error',
'rulesdir/no-api-side-effects-method': 'error',
'rulesdir/prefer-localization': 'error',
'rulesdir/avoid-anonymous-functions': 'error',
'no-restricted-imports': ['error', {
paths: [{
name: 'react-native',
Expand Down

0 comments on commit 4ba9022

Please sign in to comment.