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

fix(contract): linting #33

Merged
merged 5 commits into from
Jan 3, 2024
Merged

fix(contract): linting #33

merged 5 commits into from
Jan 3, 2024

Conversation

0xpatrickdev
Copy link
Member

- adds missing @agoric/eslint-config dependency
- tells parser to use ecmaVersion 2021 so bigint is recognized
@0xpatrickdev 0xpatrickdev requested a review from dckc January 3, 2024 21:26
Copy link
Member

@dckc dckc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

name: Lint and Test

on:
pull_request:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Use Node.js 18.8.x
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here's hoping we can do both major LTS versions
(maybe add a comment about why not yet? Agoric/agoric-sdk#8636 )

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 fccae72

- remove explicit lin-jessie command, as @agoric/eslint-config extends eslint-config-jessie
- use lint:fix in favor of lint-fix
"lint-fix-jessie": "eslint -c '.eslintrc-jessie.js' --fix '**/*.{js,jsx}'",
"lint-jessie": "eslint -c '.eslintrc-jessie.js' '**/*.{js,jsx}'"
"lint": "eslint '**/*.js'",
"lint:fix": "eslint --fix '**/*.js'"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@0xpatrickdev 0xpatrickdev merged commit 5a65fd0 into main Jan 3, 2024
1 check passed
@0xpatrickdev 0xpatrickdev deleted the 19-contract-linting branch January 3, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

linting issues when running yarn lint
2 participants