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

chore: no longer depends on hd-scripts, packages use/configure eslint directly, fixes warnings from npm lint script #1058

Merged
merged 43 commits into from
Nov 2, 2023

Conversation

gobengo
Copy link
Contributor

@gobengo gobengo commented Nov 1, 2023

Motivation:

Tactics:

  • new package packages/eslint-config-w3up
  • all packages use package.json to set eslintConfig.extends to @web3-storage/eslint-config-w3up and have a devDep on that package within the monorepo. No monorepo subpackages use any eslint rules other than those in eslint-config-w3up. i.e. all w3up packages use the same eslint config (this wasn't actually the case before, since different w3up packages were depending on different versions of hd-scripts)
  • no packages depend on hd-scripts any more

@gobengo gobengo marked this pull request as ready for review November 1, 2023 21:33
@gobengo gobengo changed the title chore: packages/access-client no longer depends on hd-scripts, fixes warning from npm lint script chore: no longer depends on hd-scripts, packages use/configure eslint directly, fixes warnings from npm lint script Nov 1, 2023
Copy link
Contributor

@travis travis left a comment

Choose a reason for hiding this comment

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

it looks like there are a couple typechecking warnings in packages/w3up-client/test/helpers/car.js that are probably worth addressing (see the bottom of the "Files changed" tab on this PR) but otherwise this looks good to go!

@gobengo gobengo merged commit ebdb99b into main Nov 2, 2023
14 checks passed
@gobengo gobengo deleted the access-no-hd-scripts branch November 2, 2023 18:22
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.

2 participants