Skip to content

Commit

Permalink
chore: extend linting/formatting commands
Browse files Browse the repository at this point in the history
  • Loading branch information
smalluban committed Apr 13, 2024
1 parent a5d9165 commit 595ce2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"karma": "karma start karma.conf.cjs",
"dev": "npm run karma -- --no-single-run --browsers ChromeHeadless",
"dev:coverage": "rm -rf ./coverage && NODE_ENV=coverage npm run dev",
"lint": "eslint ./src",
"lint": "eslint ./src ./test ./cli --ext .js",
"format": "prettier --write ./src ./test ./cli",
"test": "npm run test:cli && npm run lint && npm run karma && npm run test:typescript",
"test:coverage": "rm -rf ./coverage && NODE_ENV=coverage npm run karma",
"test:cli": "node ./cli/test.js",
Expand Down
2 changes: 1 addition & 1 deletion test/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"env": {
"browser": true
}
}
}

0 comments on commit 595ce2a

Please sign in to comment.