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 lint-staged #179

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Fix lint-staged #179

merged 1 commit into from
Aug 10, 2023

Conversation

developomp
Copy link
Contributor


  • I understand that contributing to this repository will require me to agree with the CLA

Description

Fix No staged files match any configured task.

Screenshot from 2023-08-10 11-04-29

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI

Related Tickets & Documents

None

Mobile & Desktop Screenshots/Recordings

None

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 tech-docs
  • 🙅 no documentation needed

@ra3orblade ra3orblade merged commit ca07f8b into anyproto:main Aug 10, 2023
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2023
@ra3orblade
Copy link
Contributor

Now it gives this on every commit:

✖ tsc --noEmit:
node_modules/mobx-react/dist/disposeOnUnmount.d.ts(1,8): error TS1259: Module '"/Users/admin/home/anytype-ts/node_modules/@types/react/index"' can only be default-imported using the 'esModuleInterop' flag
node_modules/mobx-react/dist/Provider.d.ts(1,8): error TS1259: Module '"/Users/admin/home/anytype-ts/node_modules/@types/react/index"' can only be default-imported using the 'esModuleInterop' flag
node_modules/react-canvas-confetti/dist/index.d.ts(2,8): error TS1259: Module '"/Users/admin/home/anytype-ts/node_modules/@types/react/index"' can only be default-imported using the 'esModuleInterop' flag
src/ts/component/menu/onboarding.tsx(2,8): error TS1259: Module '"/Users/admin/home/anytype-ts/node_modules/@types/jquery/index"' can only be default-imported using the 'esModuleInterop' flag
src/ts/component/menu/onboarding.tsx(4,37): error TS2307: Cannot find module 'Component' or its corresponding type declarations.
src/ts/component/menu/onboarding.tsx(5,87): error TS2307: Cannot find module 'Lib' or its corresponding type declarations.
src/ts/component/menu/onboarding.tsx(6,39): error TS2307: Cannot find module 'Store' or its corresponding type declarations.
src/ts/component/menu/onboarding.tsx(63,4): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(65,6): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(72,15): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(80,4): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(82,6): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(94,4): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(98,5): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(100,17): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(101,18): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(102,25): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(103,19): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(105,5): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(106,6): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(107,6): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(110,21): error TS2607: JSX element class does not support attributes because it does not have a 'props' property.
src/ts/component/menu/onboarding.tsx(110,21): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
src/ts/component/menu/onboarding.tsx(110,22): error TS2786: 'ReactCanvasConfetti' cannot be used as a JSX component.
  Its instance type 'ReactCanvasConfetti' is not a valid JSX element.
    Type 'ReactCanvasConfetti' is missing the following properties from type 'ElementClass': context, setState, forceUpdate, props, and 2 more.
husky - pre-commit hook exited with code 1 (error)

@developomp developomp deleted the fix-lint-staged branch August 10, 2023 08:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants