refactor(lint): simplify eslint config
This commit is contained in:
@@ -9,21 +9,12 @@ module.exports = [
|
|||||||
languageOptions: {
|
languageOptions: {
|
||||||
globals: {
|
globals: {
|
||||||
es2022: true,
|
es2022: true,
|
||||||
|
sap: true,
|
||||||
...globals.browser,
|
...globals.browser,
|
||||||
...globals.node,
|
...globals.node,
|
||||||
...globals.jest,
|
...globals.jest,
|
||||||
...globals.mocha,
|
...globals.mocha,
|
||||||
cds: true,
|
...cds.configs.recommended.languageOptions.globals
|
||||||
sap: true,
|
|
||||||
CDL: true,
|
|
||||||
CQL: true,
|
|
||||||
CREATE: true,
|
|
||||||
DELETE: true,
|
|
||||||
DROP: true,
|
|
||||||
INSERT: true,
|
|
||||||
SELECT: true,
|
|
||||||
UPDATE: true,
|
|
||||||
UPSERT: true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
|||||||
Reference in New Issue
Block a user