Skip to content

Commit

Permalink
feat: disable react in scope as of react 17 its not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
slavik-chapelskyi committed Mar 3, 2023
1 parent 70e002a commit 4874d45
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions frontend-typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ const restrictedPackagesImportRules = require('./rules/restricted-packages-impor

module.exports = {
extends: ['./frontend.js', ...commonExtends, 'plugin:you-dont-need-lodash-underscore/compatible'],
globals: {
DD_LOGS: true,
},
plugins: [...commonPlugins, ...frontendConfig.plugins, 'testing-library'],
...tsParser,
rules: {
Expand Down
1 change: 1 addition & 0 deletions frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ module.exports = {
'sonarjs/cognitive-complexity': ['error', 18],
'multiline-comment-style': 'off',
'no-unreachable': 'error',
'react/react-in-jsx-scope': "off"
},
};

0 comments on commit 4874d45

Please sign in to comment.