Updated eslint prettier and other files

This commit is contained in:
Greg Jacobs
2024-06-04 09:07:17 -04:00
parent 1e4c307f97
commit 6ba29f130f
14 changed files with 259 additions and 12 deletions

View File

@@ -4,7 +4,10 @@
"description": "This project contains several files that perform various tasks. Here's a brief overview of each file:",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint src --ext .js",
"lint:fix": "eslint src --ext .js --fix",
"format": "prettier src --write --ignore-unknown"
},
"repository": {
"type": "git",
@@ -13,9 +16,9 @@
"author": "Greg Jacobs",
"license": "ISC",
"devDependencies": {
"@eslint/js": "^9.4.0",
"eslint": "^9.4.0",
"globals": "^15.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.3.0"
}
}