mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 01:16:15 -04:00
lint: Bump ESLint dependencies
This commit is contained in:
parent
005ca0bb09
commit
8eb310854d
5 changed files with 1477 additions and 509 deletions
|
@ -1,5 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('eslint-config-etherpad/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
ignorePatterns: [
|
||||
'/static/js/admin/jquery.autosize.js',
|
||||
|
|
|
@ -171,15 +171,21 @@ const logger = log4js.getLogger('checkPlugin');
|
|||
const parsedPackageJSON = JSON.parse(packageJSON);
|
||||
|
||||
await updateDeps(parsedPackageJSON, 'devDependencies', {
|
||||
'eslint': '^8.8.0',
|
||||
'eslint-config-etherpad': '^2.0.7',
|
||||
'eslint-plugin-cypress': '^2.12.1',
|
||||
'eslint-plugin-eslint-comments': '^3.2.0',
|
||||
'eslint-plugin-mocha': '^10.0.3',
|
||||
'eslint-plugin-node': '^11.1.0',
|
||||
'eslint-plugin-prefer-arrow': '^1.2.3',
|
||||
'eslint-plugin-promise': '^6.0.0',
|
||||
'eslint-plugin-you-dont-need-lodash-underscore': '^6.12.0',
|
||||
'eslint': '^8.9.0',
|
||||
'eslint-config-etherpad': '^3.0.1',
|
||||
'typescript': {ver: '^4.5.5', overwrite: false},
|
||||
// These were moved to eslint-config-etherpad's dependencies so they can be removed:
|
||||
'@typescript-eslint/eslint-plugin': null,
|
||||
'@typescript-eslint/parser': null,
|
||||
'eslint-import-resolver-typescript': null,
|
||||
'eslint-plugin-cypress': null,
|
||||
'eslint-plugin-eslint-comments': null,
|
||||
'eslint-plugin-import': null,
|
||||
'eslint-plugin-mocha': null,
|
||||
'eslint-plugin-node': null,
|
||||
'eslint-plugin-prefer-arrow': null,
|
||||
'eslint-plugin-promise': null,
|
||||
'eslint-plugin-you-dont-need-lodash-underscore': null,
|
||||
});
|
||||
|
||||
await updateDeps(parsedPackageJSON, 'peerDependencies', {
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('eslint-config-etherpad/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: 'etherpad/plugin',
|
||||
|
|
1942
src/package-lock.json
generated
1942
src/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -78,15 +78,8 @@
|
|||
"etherpad-lite": "node/server.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.8.0",
|
||||
"eslint-config-etherpad": "^2.0.7",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
"eslint-plugin-mocha": "^10.0.3",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prefer-arrow": "^1.2.3",
|
||||
"eslint-plugin-promise": "^6.0.0",
|
||||
"eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0",
|
||||
"eslint": "^8.9.0",
|
||||
"eslint-config-etherpad": "^3.0.1",
|
||||
"etherpad-cli-client": "^0.1.12",
|
||||
"mocha": "^9.1.3",
|
||||
"mocha-froth": "^0.2.10",
|
||||
|
@ -96,7 +89,8 @@
|
|||
"set-cookie-parser": "^2.4.8",
|
||||
"sinon": "^12.0.1",
|
||||
"split-grid": "^1.0.11",
|
||||
"supertest": "^6.1.6"
|
||||
"supertest": "^6.1.6",
|
||||
"typescript": "^4.5.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.17.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue