From 7738f850361a2b72863c62efdecc917768c577da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mann?= Date: Fri, 3 May 2024 13:53:43 +0200 Subject: [PATCH] refactor(lint): simplify eslint config --- eslint.config.js | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index a5fd2f7b..124732aa 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -9,21 +9,12 @@ module.exports = [ languageOptions: { globals: { es2022: true, + sap: true, ...globals.browser, ...globals.node, ...globals.jest, ...globals.mocha, - cds: true, - sap: true, - CDL: true, - CQL: true, - CREATE: true, - DELETE: true, - DROP: true, - INSERT: true, - SELECT: true, - UPDATE: true, - UPSERT: true + ...cds.configs.recommended.languageOptions.globals } }, rules: {