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

eslint setup and cc issues #8

Open
femans opened this issue Aug 28, 2022 · 0 comments
Open

eslint setup and cc issues #8

femans opened this issue Aug 28, 2022 · 0 comments

Comments

@femans
Copy link
Contributor

femans commented Aug 28, 2022

- "@typescript-eslint"

The eslint config currently is broken, as it uses typescript plugin as its base, which

  1. is not imported and
  2. there is no typescript in the project to lint (not necessarily a problem)

Besides this, there is no script in package.json to run the linter or prettier yet.
Besides this, there may be need for some more eslint settings.

Solving this would enable auto-fixing issues such as unused imports:

import buffer from "buffer";

Proposed solution:

  • take eslint/prettier configuration from dweb-search-frontend
  • add/remove necessary imports
  • lint/prettify the project
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

No branches or pull requests

1 participant