mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
ESLint fixes and unified lint targets (#3424)
* optimise lint targets * fix eslint config files * fix app coverage settings * tune eslint to warn about optional chains
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
// Karma configuration file, see link for more information
|
||||
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
||||
const { join } = require('path');
|
||||
const getBaseKarmaConfig = require('../karma.conf');
|
||||
|
||||
module.exports = function (config) {
|
||||
const baseConfig = getBaseKarmaConfig();
|
||||
config.set({
|
||||
...baseConfig,
|
||||
coverageReporter: {},
|
||||
coverageReporter: {
|
||||
...baseConfig.coverageReporter,
|
||||
dir: join(__dirname, '../coverage/content-ce')
|
||||
}
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user