mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +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,23 +1,15 @@
|
||||
path = require("path");
|
||||
const path = require('path');
|
||||
module.exports = {
|
||||
"extends": "../../.eslintrc.json",
|
||||
"ignorePatterns": [
|
||||
"!**/*"
|
||||
],
|
||||
"overrides": [
|
||||
extends: '../../.eslintrc.json',
|
||||
ignorePatterns: ['!**/*'],
|
||||
overrides: [
|
||||
{
|
||||
"files": [
|
||||
"*.ts"
|
||||
],
|
||||
"parserOptions": {
|
||||
"project": [
|
||||
path.join(__dirname, "tsconfig.lib.json"),
|
||||
path.join(__dirname, "tsconfig.spec.json")
|
||||
],
|
||||
"createDefaultProgram": true
|
||||
files: ['*.ts'],
|
||||
parserOptions: {
|
||||
project: [path.join(__dirname, 'tsconfig.lib.json'), path.join(__dirname, 'tsconfig.spec.json')],
|
||||
createDefaultProgram: true
|
||||
},
|
||||
"rules": {
|
||||
}
|
||||
rules: {}
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user