Skip to content

Commit

Permalink
[INTERNAL] Adjust .eslintrc.json to best practice (#208)
Browse files Browse the repository at this point in the history
Follow-up of
#207 (comment)

---------

Co-authored-by: Matthias Osswald <mat.osswald@sap.com>
  • Loading branch information
flovogt and matz3 authored Aug 15, 2023
1 parent 5aad000 commit 19b95d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"env": {
"browser": true,
"es2022": "true"
"es2022": true
},
"extends": "eslint:recommended",
"globals": {
"sap": true,
"jQuery": true
"sap": "readonly"
},
"rules": {
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
Expand Down
4 changes: 2 additions & 2 deletions karma-ci.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env node */
"use strict";
module.exports = function(config) {
"use strict";

require("./karma.conf")(config);
config.set({

Expand Down
4 changes: 2 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env node */
"use strict";
module.exports = function(config) {
"use strict";

const chromeFlags = [
"--window-size=1280,1024"
];
Expand Down

0 comments on commit 19b95d2

Please sign in to comment.