Skip to content

Commit

Permalink
Angle steering (#4)
Browse files Browse the repository at this point in the history
* Initial angle steering

* eslint

* Update pull-request.yml

* Create .eslintrc

* Create .eslintignore

* Update pull-request.yml

* Working ACO

* Update .eslintrc

* Better styles

* Better components

* Updates to ant

* add obstacle

* Remove comments
  • Loading branch information
hasnainroopawalla authored Sep 2, 2023
1 parent a2eb6ff commit 69e5026
Show file tree
Hide file tree
Showing 24 changed files with 1,483 additions and 349 deletions.
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

0 comments on commit 69e5026

Please sign in to comment.