mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-plugin-leaderboard.git
synced 2025-10-03 20:11:10 +08:00
update eslint
This commit is contained in:
parent
3d48cc8743
commit
83e8461f58
4 changed files with 915 additions and 642 deletions
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"extends": "nodebb"
|
||||
}
|
10
eslint.config.mjs
Normal file
10
eslint.config.mjs
Normal 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
1539
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue