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