Skip to content

Commit f91cbd2

Browse files
author
Ben Warzeski
authored
Merge pull request #46 from openedx/lk/self-assessment
lk/self assessment
2 parents 03f1b2f + 7aa2628 commit f91cbd2

File tree

79 files changed

+2803
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2803
-116
lines changed

.eslintrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,14 @@ const { createConfig } = require('@edx/frontend-build');
44
module.exports = createConfig('eslint', {
55
rules: {
66
'import/no-unresolved': 'off',
7+
'import/no-named-as-default': 'off',
78
},
9+
overrides: [
10+
{
11+
files: ['*{h,H}ooks.js'],
12+
rules: {
13+
'react-hooks/rules-of-hooks': 'off',
14+
},
15+
},
16+
],
817
});

jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const config = createConfig('jest', {
1313
});
1414

1515
config.moduleDirectories = ['node_modules', 'src'];
16-
// config.moduleNameMapper['@/(.*)'] = '<rootDir>/src/$1';
16+
// add axios to the list of modules to not transform
17+
config.transformIgnorePatterns = ['/node_modules/(?!@edx|axios)'];
1718

1819
module.exports = config;

0 commit comments

Comments
 (0)