Skip to content

Commit 4c6eeef

Browse files
committed
Refactor ESLint configuration: add new CommonJS config and remove old MJS config; update .gitignore to include reference images
1 parent 38746ff commit 4c6eeef

3 files changed

Lines changed: 17 additions & 14 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,6 @@ dist
137137
# Vite logs files
138138
vite.config.js.timestamp-*
139139
vite.config.ts.timestamp-*
140+
141+
# Reference images for CSS
142+
References/

eslint.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const js = require("@eslint/js");
2+
const globals = require("globals");
3+
4+
module.exports = [
5+
js.configs.recommended,
6+
{
7+
languageOptions: {
8+
globals: globals.node,
9+
},
10+
rules: {
11+
"no-console": "warn",
12+
},
13+
},
14+
];

eslint.config.mjs

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

0 commit comments

Comments
 (0)