mirror of
https://github.com/imjasonh/govulncheck-action
synced 2026-07-07 00:12:55 +00:00
- Install husky, lint-staged, eslint, and prettier dev dependencies - Configure ESLint with basic Node.js rules - Configure Prettier for consistent code formatting - Set up husky pre-commit hook to run lint-staged - Fix build script to use correct path (index.js not src/index.js) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
No EOL
409 B
JSON
19 lines
No EOL
409 B
JSON
{
|
|
"env": {
|
|
"node": true,
|
|
"es2021": true,
|
|
"jest": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"indent": ["error", 2],
|
|
"linebreak-style": ["error", "unix"],
|
|
"quotes": ["error", "single"],
|
|
"semi": ["error", "always"],
|
|
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
|
|
}
|
|
} |