chore: switch coding style to JS standard
[e-mobility-charging-stations-simulator.git] / package.json
index 8ee93144d0fa0cabe6af3749087ff6215917e36a..6d773d66f122069baaeb85788b8057fd0351c63d 100644 (file)
@@ -73,7 +73,7 @@
     "clean:node_modules": "npx rimraf node_modules",
     "lint": "cross-env TIMING=1 eslint --cache src",
     "lint:fix": "cross-env TIMING=1 eslint --cache --fix src",
-    "format": "prettier --cache --write .",
+    "format": "prettier --cache --write .; ts-standard --fix .",
     "test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"",
     "test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"",
     "coverage": "c8 report --reporter=lcov",
     "esbuild-plugin-copy": "^2.1.1",
     "eslint": "^8.56.0",
     "eslint-config-prettier": "^9.1.0",
+    "eslint-config-standard": "^17.1.0",
+    "eslint-config-standard-with-typescript": "^43.0.0",
+    "eslint-define-config": "^2.1.0",
     "eslint-import-resolver-typescript": "^3.6.1",
     "eslint-plugin-import": "^2.29.1",
     "eslint-plugin-jsdoc": "^46.9.1",
     "release-it": "^17.0.1",
     "rimraf": "^5.0.5",
     "semver": "^7.5.4",
+    "ts-node": "^10.9.2",
+    "ts-standard": "^12.0.2",
     "tsx": "^4.7.0",
     "typescript": "~5.3.3"
   }