Skip to content

Commit ae152fe

Browse files
chore: package updates
1 parent bc616e9 commit ae152fe

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.eslintrc.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// eslint-disable-next-line import/no-extraneous-dependencies
22
const { createConfig } = require('@edx/frontend-build');
33

4-
module.exports = createConfig('eslint', {
4+
const config = createConfig('eslint', {
55
rules: {
66
'import/no-unresolved': 'off',
77
'import/no-named-as-default': 'off',
@@ -15,3 +15,6 @@ module.exports = createConfig('eslint', {
1515
},
1616
],
1717
});
18+
19+
config.rules['react/function-component-definition'][1].unnamedComponents = 'arrow-function';
20+
module.exports = config;

jest.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ const config = createConfig('jest', {
1313
});
1414

1515
config.moduleDirectories = ['node_modules', 'src'];
16+
<<<<<<< HEAD
17+
=======
18+
19+
>>>>>>> 8f4b2e6 (chore: package updates)
1620
// add axios to the list of modules to not transform
1721
config.transformIgnorePatterns = ['/node_modules/(?!@edx|axios)'];
1822

0 commit comments

Comments
 (0)