Migrate from deprecated TSLint to ESLint with Airbnb config (#966)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: thomasnordquist <7721625+thomasnordquist@users.noreply.github.com>
Co-authored-by: Thomas Nordquist <thomasnordquist@users.noreply.github.com>
This commit is contained in:
Copilot
2026-01-27 08:33:07 +01:00
committed by GitHub
parent 82c58e42d1
commit e8bcb7c7dc
6 changed files with 2189 additions and 253 deletions

View File

@@ -29,12 +29,12 @@
"dev:server": "npm-run-all --parallel dev:server:*",
"dev:server:app": "(cd app && npx webpack-dev-server --config webpack.browser.config.mjs --mode development --progress)",
"dev:server:backend": "tsc && node dist/src/server.js",
"lint": "npm-run-all --parallel lint:prettier lint:tslint lint:spellcheck",
"lint:fix": "npm-run-all lint:tslint:fix lint:prettier:fix",
"lint": "npm-run-all --parallel lint:prettier lint:eslint lint:spellcheck",
"lint:fix": "npm-run-all lint:eslint:fix lint:prettier:fix",
"lint:prettier": "prettier --check \"**/*.ts{x,}\"",
"lint:prettier:fix": "prettier --write \"**/*.ts{x,}\"",
"lint:tslint": "tslint -p ./",
"lint:tslint:fix": "tslint -p ./ --fix",
"lint:eslint": "eslint --ext .ts,.tsx .",
"lint:eslint:fix": "eslint --ext .ts,.tsx . --fix",
"lint:spellcheck": "cspell -e ./build -e \"node_modules\" \"**/*.ts{x,}\"",
"build": "tsc && (cd app && yarn run build)",
"build:server": "npx tsc && (cd app && npx webpack --config webpack.browser.config.mjs --mode production)",
@@ -116,11 +116,21 @@
"@types/sha1": "^1.1.1",
"@types/socket.io": "^3.0.2",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"builder-util-runtime": "^9.3.1",
"chai": "^4.5.0",
"cspell": "^8.19.4",
"electron": "39.2.7",
"electron-builder": "^26.4.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"mocha": "^10.8.2",
"mustache": "^4.2.0",
"npm-run-all": "^4.1.5",
@@ -132,10 +142,6 @@
"semantic-release-export-data": "^1.2.0",
"source-map-support": "^0.5.9",
"sparkplug-client": "^3.2.4",
"tslint": "^6.1.3",
"tslint-config-airbnb": "^5.11.2",
"tslint-react": "^5.0.0",
"tslint-react-recommended": "^1.0.15",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
},