-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add prettier * Align formats * More formatting * Add GitHub Action * Add Husky * Add JSON * Fix workflow directory * Fix workflow * Fix workflow * Test bad format * Revert test change * Update selenium-standalone to allow tests to run * Update README.md Co-authored-by: Philip Walton <philipwalton@users.noreply.github.com> * Review feedback * Set quoteProps to preserve * Revert CoC * Try link-staged * Try link staged * Revert lint-staged * Add git add * Test commit * Switch to lint-staged Co-authored-by: Philip Walton <philipwalton@users.noreply.github.com>
- Loading branch information
1 parent
39f1782
commit cd560dc
Showing
63 changed files
with
2,124 additions
and
593 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,16 @@ | ||
# editorconfig.org | ||
# For Visual Studio code use this extension to enforce below rules: | ||
# https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig | ||
# Other IDEs maye have built in editorconfig support, or their own extensions | ||
# | ||
# The similar .ecrc file is used by an editorconfig GitHub action to catch those | ||
# that don't use this. | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Lint Code Base | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
jobs: | ||
lint: | ||
name: Lint Code Base | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
- name: NPM install | ||
run: npm install | ||
- name: Run Prettier | ||
run: npm run format:check | ||
- name: Run ESlint | ||
run: npm run lint |
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 |
---|---|---|
|
@@ -10,6 +10,3 @@ tsconfig.tsbuildinfo | |
|
||
# Dist files | ||
dist | ||
|
||
# Husky files | ||
.husky |
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,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npm exec lint-staged |
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
Oops, something went wrong.