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

weekly cli backmerge #95

Merged
merged 4 commits into from
Aug 12, 2024
Merged

weekly cli backmerge #95

merged 4 commits into from
Aug 12, 2024

Conversation

technophile-04
Copy link
Collaborator

@technophile-04 technophile-04 commented Aug 12, 2024

Description:

@rin-st could you please try the linting in vscode? :

  1. Start the CLI dev server
yarn dev
  1. Create an instance:
yarn cli -s hardhat
  1. In the instance created, try out if lint is working or not in vscode. Test snippet:
  const [count, setCount] = useState(0);
  const [name, setName] = useState("shiv");
  // should get an eslint error
  const x = "shiv";

  useEffect(() => {
    setCount(count + 1);
    console.log(count);
    setName("shiv");
    console.log(name);
    // should get an eslint warning 
  }, [count]);

@carletex
Copy link
Member

Thank you @technophile-04 !!

Let's publish a new create-eth version when this is merged

@rin-st
Copy link
Member

rin-st commented Aug 12, 2024

It works!
image

Notes:

  1. for some reason it asked to install yarn 3.5.0
Screenshot 2024-08-12 at 12 26 58
  1. When running yarn next:lint it shows warning regarding ts version
yarn next:lint
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=4.3.5 <5.4.0

YOUR TYPESCRIPT VERSION: 5.5.3

Please only submit bug reports when using the officially supported version.

=============

./app/page.tsx
15:9  Error: 'x' is assigned a value but never used.  @typescript-eslint/no-unused-vars
23:6  Warning: React Hook useEffect has a missing dependency: 'name'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules

@technophile-04
Copy link
Collaborator Author

Thanks Rinat!!

Actually regarding the warning of ts version is present on git clone se-2 version as well. If you first time clone the repo, yarn install and run yarn next:lint you should get it. It was introduced in scaffold-eth#885. We could maybe lower the TS version b/w that range in future PR?

But yeah merging this for now since everything seem to work 🙌

@technophile-04 technophile-04 merged commit 2b5937f into main Aug 12, 2024
1 check passed
@technophile-04 technophile-04 deleted the backmerge-12-8-24 branch August 12, 2024 10:50
@rin-st
Copy link
Member

rin-st commented Aug 12, 2024

We could maybe lower the TS version b/w that range in future PR?

I think it's not critical at all, we can live with it for some time :)

rin-st added a commit that referenced this pull request Aug 28, 2024
fix: remove formatting on precommit

weekly cli backmerge (#95)

Version Packages (#92)

List of templates and args example files (#97)

Co-authored-by: Shiv Bhonde <shivbhonde04@gmail.com>

update third party extension doc (#98)

cli: allow any case extension name (#101)

fix: remove --install

fix: &&

test without foundry

fix: enableImmutableInstalls false

fix: disable immutable installs

fix: change yarn release

update yarn

check hh/foundry

fix: solidity framework

try hh and foundry

update actions

hh

fix: balance

check ff only

add foundry to path

fix: yml

try without validation

feat: submodules

fix: with

move foundry

disable cache

try v3

disable validate foundry

update validation

fix: wrap git in try catch

testing errors

fix: change to error.message

return yarn 3.5.0

return options

remove redundant check

remove redundant release

remove redundant command

remove comments

revert
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.

3 participants