update eslint

This commit is contained in:
Barış Soner Uşaklı 2025-06-09 16:57:14 -04:00
parent 3d48cc8743
commit 83e8461f58
4 changed files with 915 additions and 642 deletions

View file

@ -1,3 +0,0 @@
{
"extends": "nodebb"
}

10
eslint.config.mjs Normal file
View file

@ -0,0 +1,10 @@
'use strict';

import serverConfig from 'eslint-config-nodebb';
import publicConfig from 'eslint-config-nodebb/public';

export default [
...publicConfig,
...serverConfig,
];

1539
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -23,8 +23,7 @@
"compatibility": "^4.0.0"
},
"devDependencies": {
"eslint": "^7.32.0",
"eslint-config-nodebb": "^0.0.2",
"eslint-plugin-import": "^2.24.2"
"eslint": "9.28.0",
"eslint-config-nodebb": "1.1.7"
}
}