React code (in jsx files) was not being extracted at all. Fixed this by updating to edx-i18n-tools 0.4.5. Also, template literals (feature of es2015) don't work well with gettext at all. So convert those instances to HtmlUtils or StringUtils interpolation calls. FEDX-505
12 lines
186 B
JavaScript
12 lines
186 B
JavaScript
module.exports = {
|
|
extends: 'eslint-config-edx',
|
|
root: true,
|
|
settings: {
|
|
'import/resolver': {
|
|
webpack: {
|
|
config: 'webpack.dev.config.js',
|
|
},
|
|
},
|
|
},
|
|
};
|