Skip to content

Commit

Permalink
Merge pull request #46 from openedx/lk/self-assessment
Browse files Browse the repository at this point in the history
lk/self assessment
  • Loading branch information
muselesscreator authored Sep 28, 2023
2 parents 03f1b2f + 7aa2628 commit f91cbd2
Show file tree
Hide file tree
Showing 79 changed files with 2,803 additions and 116 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,14 @@ const { createConfig } = require('@edx/frontend-build');
module.exports = createConfig('eslint', {
rules: {
'import/no-unresolved': 'off',
'import/no-named-as-default': 'off',
},
overrides: [
{
files: ['*{h,H}ooks.js'],
rules: {
'react-hooks/rules-of-hooks': 'off',
},
},
],
});
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const config = createConfig('jest', {
});

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

module.exports = config;
Loading

0 comments on commit f91cbd2

Please sign in to comment.