diff --git a/.eslintignore b/.eslintignore index 26ecb1ae7cc7..d40d51b59bca 100644 --- a/.eslintignore +++ b/.eslintignore @@ -14,3 +14,4 @@ web/gtm.js src/libs/SearchParser/searchParser.js src/libs/SearchParser/autocompleteParser.js help/_scripts/** +Mobile-Expensify/** diff --git a/.eslintrc.js b/.eslintrc.js index 9a3a9998c836..43476708dff8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -122,7 +122,7 @@ module.exports = { 'plugin:@typescript-eslint/recommended-type-checked', 'plugin:@typescript-eslint/stylistic-type-checked', 'plugin:you-dont-need-lodash-underscore/all', - 'plugin:prettier/recommended', + 'prettier', ], plugins: ['@typescript-eslint', 'jsdoc', 'you-dont-need-lodash-underscore', 'react-native-a11y', 'react', 'testing-library', 'eslint-plugin-react-compiler', 'lodash', 'deprecation'], parser: '@typescript-eslint/parser', @@ -203,6 +203,7 @@ module.exports = { 'es/no-nullish-coalescing-operators': 'off', 'es/no-optional-chaining': 'off', 'deprecation/deprecation': 'off', + 'arrow-body-style': 'off', // Import specific rules 'import/consistent-type-specifier-style': ['error', 'prefer-top-level'], @@ -308,6 +309,7 @@ module.exports = { 'jsdoc/no-types': 'off', 'react/jsx-filename-extension': 'off', 'rulesdir/no-default-props': 'off', + 'prefer-arrow-callback': 'off', }, }, {