diff --git a/datahub-web-react/.eslintrc.js b/datahub-web-react/.eslintrc.js index ffc228914de965..2806942dd10531 100644 --- a/datahub-web-react/.eslintrc.js +++ b/datahub-web-react/.eslintrc.js @@ -18,24 +18,24 @@ module.exports = { project: './tsconfig.json', }, rules: { - '@typescript-eslint/no-explicit-any': 'warn', - 'arrow-body-style': 'warn', + '@typescript-eslint/no-explicit-any': 'off', + 'arrow-body-style': 'off', 'class-methods-use-this': 'off', 'import/no-extraneous-dependencies': 'off', 'import/prefer-default-export': 'off', // TODO: remove this lint rule 'no-console': 'off', 'no-plusplus': 'off', - 'no-prototype-builtins': 'warn', - 'no-restricted-exports': 'warn', + 'no-prototype-builtins': 'off', + 'no-restricted-exports': ['off', { restrictedNamedExports: ['default', 'then'] }], 'no-underscore-dangle': 'off', 'no-unsafe-optional-chaining': 'off', 'prefer-exponentiation-operator': 'off', - 'prefer-regex-literals': 'warn', + 'prefer-regex-literals': 'off', 'react/destructuring-assignment': 'off', 'react/function-component-definition': 'off', 'react/jsx-no-bind': 'off', 'react/jsx-no-constructed-context-values': 'off', - 'react/jsx-no-useless-fragment': 'warn', + 'react/jsx-no-useless-fragment': 'off', 'react/jsx-props-no-spreading': 'off', 'react/no-unstable-nested-components': 'off', 'react/require-default-props': 'off',