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:
Denys Vuika
2023-09-08 09:00:00 +01:00
committed by GitHub
parent 46ea85436b
commit 9106608398
14 changed files with 47 additions and 149 deletions

View File

@@ -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')
}
});
};