Commit Graph

14 Commits

Author SHA1 Message Date
Daniel Hutzel
02ea798f5f Streamlined eslint usage for eslint9 w/ cds8 (#719)
* Streamlined eslint usage

* import from @sap/cds instead of @sap/cds/lib

* Using @sap/cds/eslint.js

* eslint.config.mjs aktualisieren

* Adjusted eslint usage for eslint9 with cds8
2024-07-15 14:27:03 +02:00
Daniel Hutzel
cf1ff4d61f . 2023-11-18 17:57:50 +01:00
Mara Kiefer
12fd91ca4f Use eslint probe, not validate in VS Code settings
- Parsing error as see in issue https://github.tools.sap/cap/issues/issues/13123
- Related to [VS Code ESLint settings options](https://github.com/microsoft/vscode-eslint/blob/main/README.md#settings-options)
- Should use `eslint.probe` instead of `eslint.validate`

eslint.probe - an array for language identifiers for which the ESLint extension should be activated and should try to validate the file. If validation fails for probed languages the extension says silent. Defaults to ["javascript", "javascriptreact", "typescript", "typescriptreact", "html", "vue", "markdown"].

eslint.validate - an array of language identifiers specifying the files for which validation is to be enforced. This is an old legacy setting and should in normal cases not be necessary anymore. Defaults to ["javascript", "javascriptreact"].
2023-02-28 11:49:01 +01:00
Daniel
535981dc7e Fixing cds lint issues 2023-02-22 13:39:05 +01:00
Daniel Hutzel
a1c2f32408 Cleanup (#440)
* Cleanup

* minor cleanups
2023-01-13 09:08:20 +01:00
Daniel
8676f7184d . 2022-10-03 12:18:40 +02:00
Daniel
589e282288 mocha has to run parallel 2022-01-06 10:24:46 +01:00
Christian Georgi
c1141e6c87 Remove trailing comma 2021-06-08 16:19:34 +02:00
Daniel
5f160c0927 Added debug conf 2021-04-10 13:06:15 +02:00
Christian Georgi
dcab44ab68 Hide license files 2021-03-17 09:06:48 +01:00
Daniel
188d8430a2 . 2020-04-05 19:54:44 +02:00
Daniel
faa910161a Adding tests for mocha and jest 2020-04-04 18:03:04 +02:00
Daniel
a0847e603f settings.json restored 2020-01-04 07:24:11 +01:00
d049904
cc3aca29ef samples revisited after teched 2019-10-24 12:03:37 +02:00