Skip to content

Commit b6dd19b

Browse files
committed
1 parent 311f402 commit b6dd19b

File tree

7 files changed

+23
-19
lines changed

7 files changed

+23
-19
lines changed

.eslintignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

.xo-config.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

.xo-config.json.license

Lines changed: 0 additions & 3 deletions
This file was deleted.

eslint.config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// SPDX-FileCopyrightText: 2025 DB Systel GmbH
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
5+
// eslint-disable-next-line unicorn/prefer-module
6+
const { defineConfig, globalIgnores } = require('eslint/config');
7+
// eslint-disable-next-line unicorn/prefer-module
8+
const globals = require('globals');
9+
10+
// eslint-disable-next-line unicorn/prefer-module
11+
module.exports = defineConfig([
12+
{
13+
languageOptions: {
14+
globals: {
15+
...globals.browser,
16+
...globals.node
17+
}
18+
}
19+
},
20+
globalIgnores(['**/build', '**/public', '**/out'])
21+
]);

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"cpr": "3.0.1",
4747
"dotenv": "^16.5.0",
4848
"find-versions-cli": "^5.0.0",
49+
"globals": "^16.2.0",
4950
"husky": "9.1.7",
5051
"lint-staged": "^16.1.0",
5152
"markdownlint-cli": "^0.45.0",

0 commit comments

Comments
 (0)