mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
Fix eslint babel config path
This commit is contained in:
parent
ae15c37a2e
commit
48cd779ed2
@ -45,6 +45,7 @@ try {
|
||||
|
||||
const reactPath = resolve.sync('react', {basedir: indicoBaseDir});
|
||||
const react = require(reactPath);
|
||||
const babelConfigFile = path.join(indicoBaseDir, 'babel.config.js');
|
||||
|
||||
module.exports = _.merge(defaultConfig, {
|
||||
settings: {
|
||||
@ -60,4 +61,9 @@ module.exports = _.merge(defaultConfig, {
|
||||
},
|
||||
},
|
||||
},
|
||||
parserOptions: {
|
||||
babelOptions: {
|
||||
configFile: babelConfigFile
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user