[AAE-7100] ESLint support for ADF Core and DemoShell projects (#7481)

* remove tsconfig.base as per eslint schematics

* add schematics

* upgrade demoshell to eslint

* fix eslint issues for demoshell

* integrate eslint for ADF core and fix some issues

* turn into warn

* fix code

* workaround for Chrome clipboard issue

* exclude e2e tests

* exclude e2e
This commit is contained in:
Denys Vuika
2022-02-02 18:01:47 +00:00
committed by GitHub
parent 6ef4838688
commit b8bb234410
192 changed files with 2553 additions and 483 deletions
+53 -1
View File
@@ -1,3 +1,55 @@
{
"extends": "./tsconfig.base.json"
"compileOnSave": false,
"compilerOptions": {
"downlevelIteration": true,
"module": "esnext",
"rootDir": ".",
"outDir": "./dist/out-tsc",
"baseUrl": ".",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"target": "es2015",
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"typeRoots": [
"node_modules/@types"
],
"types": ["jasmine", "node", "jasminewd2"],
"lib": [
"es2018",
"esnext.array",
"esnext.asynciterable",
"dom"
],
"paths": {
"@alfresco/js-api": ["node_modules/@alfresco/js-api"],
"@alfresco/adf-extensions": ["lib/extensions"],
"@alfresco/adf-core": ["lib/core"],
"@alfresco/adf-content-services": ["lib/content-services"],
"@alfresco/adf-process-services": ["lib/process-services"],
"@alfresco/adf-insights": ["lib/insights"],
"@alfresco/adf-process-services-cloud": ["lib/process-services-cloud"],
"@alfresco/adf-testing": ["lib/testing"]
}
},
"exclude": [
"lib/config",
"integration",
"scripts",
"assets",
"tools",
"node_modules"
],
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true,
"strictTemplates": true
}
}