Skip to content

Commit 19b95d2

Browse files
flovogtmatz3
andauthored
[INTERNAL] Adjust .eslintrc.json to best practice (#208)
Follow-up of #207 (comment) --------- Co-authored-by: Matthias Osswald <[email protected]>
1 parent 5aad000 commit 19b95d2

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.eslintrc.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"env": {
33
"browser": true,
4-
"es2022": "true"
4+
"es2022": true
55
},
66
"extends": "eslint:recommended",
77
"globals": {
8-
"sap": true,
9-
"jQuery": true
8+
"sap": "readonly"
109
},
1110
"rules": {
1211
"brace-style": [2, "1tbs", { "allowSingleLine": true }],

karma-ci.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
/* eslint-env node */
2+
"use strict";
13
module.exports = function(config) {
2-
"use strict";
3-
44
require("./karma.conf")(config);
55
config.set({
66

karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
/* eslint-env node */
2+
"use strict";
13
module.exports = function(config) {
2-
"use strict";
3-
44
const chromeFlags = [
55
"--window-size=1280,1024"
66
];

0 commit comments

Comments
 (0)