-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add pre-commit and a few basic hooks * Add additional pre-commit hooks * Add tsc pre-commit hook * Miscellaneous fixes: - Update .prettierrc - Add pre-commit scripts to run - Remove unused dependency husky * Reorganize pre-commit hooks into subrepos * Use tabs with width of 4 to format package.json * Remove unecessary package.json elements, add author * Update README.md with pre-commit hooks section * Add test hook for control-station * Add test hook for control-station
- Loading branch information
1 parent
bb1b221
commit accdc7a
Showing
9 changed files
with
256 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"useTabs": true, | ||
"printWidth": 88, | ||
"semi": true, | ||
"singleQuote": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "hx9-control-system", | ||
"version": "1.0.0", | ||
"description": "The control system consists of the pod operation backend and control station client. See the respective README files for setup instructions.", | ||
"devDependencies": { | ||
"pre-commit": "^1.2.2" | ||
}, | ||
"scripts": { | ||
"format:cs": "cd control-station && npm run format", | ||
"format:po": "cd pod-operation && npm run format", | ||
"lint:cs": "cd control-station && npm run lint", | ||
"lint:po": "cd pod-operation && npm run lint", | ||
"test:cs": "cd control-station && npm run test", | ||
"test:po": "cd pod-operation && npm run test" | ||
}, | ||
"pre-commit": [ | ||
"format:cs", | ||
"format:po", | ||
"lint:cs", | ||
"lint:po", | ||
"test:cs", | ||
"test:po" | ||
], | ||
"author": "UCI HyperXite" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "pod-operation", | ||
"version": "1.0.0", | ||
"description": "This Rust package is for the main program to be run on the pod. The program runs a finite-state machine to operate the pod components and acts as a Socket.IO server to communicate with the control station.", | ||
"scripts": { | ||
"lint": "cargo clippy", | ||
"format": "cargo fmt", | ||
"test": "cargo test" | ||
}, | ||
"author": "UCI HyperXite" | ||
} |