Skip to content

Commit

Permalink
Merge pull request #94 from gedu/edu/remove_avoid_anonymous_function
Browse files Browse the repository at this point in the history
Removed avoid anonymous function rule
  • Loading branch information
mountiny committed Apr 17, 2024
2 parents 393ae41 + 4ba9022 commit 6ba8e40
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 6ba8e40

Please sign in to comment.