Skip to content

Commit

Permalink
tsconfig update
Browse files Browse the repository at this point in the history
  • Loading branch information
arietrouw committed Feb 17, 2024
1 parent af10df9 commit aff6ab5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .eslintrc.cjs
Expand Up @@ -2,11 +2,7 @@ const finalConfig = {
env: {
es2024: true
},
"parserOptions": {
"ecmaVersion": "latest",
"project": null,
"tsconfigRootDir": null
},
parserOptions: { ecmaVersion: 'latest', project: './tsconfig.json', sourceType: 'module', tsconfigRootDir: null },
'extends': ['@xylabs/base'],
"root": true,
"ignorePatterns": [
Expand Down
Expand Up @@ -60,7 +60,7 @@ export class DuplicateDetector {
this.dependencyEntries = trimDependencyVirtualMeta(multiLineToJSONArray(output))
}

public detect() {
detect() {
// eslint-disable-next-line unicorn/no-array-reduce
const result = this.dependencyEntries.reduce(this.detectReducer, this.resultsFactory(this.dependency))
if (result.duplicateVersions.length > 0) {
Expand Down
5 changes: 2 additions & 3 deletions tsconfig.json
Expand Up @@ -4,7 +4,6 @@
"declarationMap": true,
"types": ["jest", "node", "json-schema"]
},
"exclude": ["dist"],
"extends": "@xylabs/tsconfig",
"include": ["src"]
"exclude": ["./node_modules", "./**/node_modules", "./dist", "./**/dist", "./**/docs", ".*"],
"extends": "@xylabs/tsconfig"
}

0 comments on commit aff6ab5

Please sign in to comment.