From fb0d3d3b7eecf1ae854057425ae738155a28035e Mon Sep 17 00:00:00 2001 From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com> Date: Thu, 25 Jul 2024 22:00:07 +0200 Subject: [PATCH] package.json scripts + enable indent --- eslint.config.js | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index ba0a58f..fb92f96 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -117,7 +117,7 @@ const rules = { "@stylistic/function-call-spacing": 2, "@stylistic/generator-star-spacing": 2, "@stylistic/key-spacing": 2, - //"@stylistic/indent": [1, "tab"], + "@stylistic/indent": [1, "tab"], "@stylistic/keyword-spacing": [1, { before: false, after: false }], "@stylistic/new-parens": 2, "@stylistic/no-mixed-operators": [2, { diff --git a/package.json b/package.json index a427ce9..1f2413b 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,13 @@ "description": "A SpaceBar Client written in JS HTML and CSS to run, clone the repo and do either `node index.js` or `bun index.js` both bun and node are supported, and both should function as expected, if there are any problems with Jank Client on things that aren't linux, please let me know. To access Jank Client after init simply go to http://localhost:8080/login and login with your username and password.", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "lint": "eslint .", + "start": "node index.js" }, - "keywords": [], "author": "MathMan05", "license": "GPL-3.0", "dependencies": { - "express": "latest" + "express": "^4.19.2" }, "devDependencies": { "@eslint/js": "^9.7.0",