Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angle steering #4

Merged
merged 13 commits into from
Sep 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
build
26 changes: 26 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"no-magic-numbers": "off",
"no-console": "warn",
"no-warning-comments": [
"warn",
{
"terms": ["TODO"],
"location": "start"
}
],
"no-alert": "error",
"no-duplicate-imports": "error",
"no-unused-private-class-members": "error",
"camelcase": "error",
"eqeqeq": "error"
}
}
8 changes: 5 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches: [master]

jobs:
build-test:
lint-test-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -15,7 +15,9 @@ jobs:
node-version: "18.x"
- name: Install dependencies
run: npm install
- name: Build package
run: npm run build
- name: Lint
run: npm run lint
- name: Run tests
run: npm test
- name: Build package
run: npm run build
Loading