Skip to content

Commit

Permalink
update rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ngamanda committed Sep 9, 2023
1 parent 3a82179 commit 0ee1e09
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions datahub-web-react/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0ee1e09

Please sign in to comment.