Add standard NPM automation

- Prettier for code formatting
- ESLint for linting
- Standard configuration files

🤖 Generated with Claude Code
This commit is contained in:
Alexa Louise
2025-12-28 22:16:01 -06:00
parent 2d32338111
commit afa0198f25
3 changed files with 21 additions and 0 deletions

11
.eslintrc.json Normal file
View File

@@ -0,0 +1,11 @@
{
"extends": ["eslint:recommended"],
"env": {
"node": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
}
}

6
.prettierrc Normal file
View File

@@ -0,0 +1,6 @@
{
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
}

View File

@@ -19,5 +19,9 @@
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/blackboxprogramming/blackroad-pitstop.git" "url": "https://github.com/blackboxprogramming/blackroad-pitstop.git"
},
"devDependencies": {
"eslint": "^9.39.2",
"prettier": "^3.7.4"
} }
} }