libreoffice-online/cypress_test/package.json
Dennis Francis 40ff6989fe lint typescript files too
Fix some issues it found and disable the following checks for now. Some
of them needs module support to work and some of them needs project
compilation using tsc rather than per file compilation.

cypress_test/ extends loleaflet's eslintrc so, its package.json needs to
have the typescript lint plugin as well.

Disabled checks:

@typescript-eslint/no-unused-vars // This can be enabled after fixing
all places it finds.

@typescript-eslint/no-inferrable-types // Lets do explicit typing
whenever we can.

no-var  // This needs a lot of conversion of var to let.

@typescript-eslint/no-explicit-any

@typescript-eslint/no-namespace // ES5 has no module support

no-inner-declarations // ,,

no-constant-condition // This is sometimes useful

@typescript-eslint/triple-slash-reference // ES5 no module support.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib4fd8b4fcee42216d4322fd043a1873302db375a
2021-04-07 14:03:42 +05:30

25 lines
711 B
JSON

{
"name": "cypress_test",
"version": "1.0.0",
"description": "Cypress integration test suit",
"license": "MPL-2.0",
"dependencies": {
"cypress": "6.2.1",
"cypress-failed-log": "2.9.1",
"cypress-file-upload": "5.0.2",
"cypress-log-to-output": "1.1.2",
"cypress-select-tests": "1.5.9",
"cypress-wait-until": "1.7.1",
"eslint": "7.19.0",
"typescript": "3.9.5",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"eslint-plugin-cypress-rules": "file:eslint_plugin",
"get-port-cli": "2.0.0",
"wait-on": "5.2.1"
},
"repository": {
"type": "git",
"url": "https://github.com/CollaboraOnline/online.git"
}
}