Skip to content
Snippets Groups Projects
Commit 38889fe7 authored by Dorch's avatar Dorch Committed by David Dorchies
Browse files

lint: try to fix Parsing error in spec.ts files

Parsing error: ESLint was configured to run on `<tsconfigRootDir>/e2e/bief-empty-fields.e2e-spec.ts` using `parserOptions.project`: <tsconfigRootDir>/e2e/tsconfig.e2e.json
parent 3a1d88c0
No related branches found
No related tags found
2 merge requests!252release: version 4.18.0,!242Resolve "Non fonctionnement des tests E2E suite à la mise à jour de nodeJS"
Pipeline #161783 passed
......@@ -6,7 +6,7 @@ It represents the closest reasonable ESLint configuration to this
project's original TSLint configuration.
We recommend eventually switching this configuration to extend from
the recommended rulesets in typescript-eslint.
the recommended rulesets in typescript-eslint.
https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md
Happy linting! 💖
......@@ -18,7 +18,7 @@ module.exports = {
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"project": ["./e2e/tsconfig.e2e.json"],
"sourceType": "module"
},
"plugins": [
......
......@@ -6,9 +6,14 @@
"module": "commonjs",
"downlevelIteration": true,
"types": [
"jasmine",
"jasminewd2",
"node"
"node",
"@wdio/globals/types",
"@wdio/jasmine-framework"
]
}
},
"include": [
"../src/**/*.ts",
"**/*.spec.ts",
"**/*.d.ts"
]
}
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"baseUrl": "./",
"types": [
"jasmine",
"node"
]
},
"files": [
"polyfills.ts"
],
"include": [
"**/*.spec.ts",
"**/*.d.ts"
]
}
......@@ -11,7 +11,7 @@
"path": "./src/tsconfig.app.json"
},
{
"path": "./src/tsconfig.spec.json"
"path": "./e2e/tsconfig.e2e.json"
}
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment