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

Configure eslint #449

Closed
2 tasks done
to-sta opened this issue Oct 14, 2023 · 1 comment
Closed
2 tasks done

Configure eslint #449

to-sta opened this issue Oct 14, 2023 · 1 comment
Assignees
Labels
feature New feature or request

Comments

@to-sta
Copy link
Collaborator

to-sta commented Oct 14, 2023

Terms

Description

The current output for running eslint on the frontend directory.
cmd: npx eslint . --ext .js,.vue

✖ 379 problems (139 errors, 240 warnings)
  0 errors and 238 warnings potentially fixable with the `--fix` option.

This task would involve configuring eslint to work with nuxt and prettier. I found two packages that should do the job nuxt-eslint-config, eslint-config-prettier.

After that we still have to go thru the reduced set of warnings and error. For example attribute-hyphenation should be ignored.

warning  Attribute 'contentPosition' must be hyphenated  vue/attribute-hyphenation

Contribution

Happy to help someone or i work on this myself eventually 😄

@to-sta to-sta added the feature New feature or request label Oct 14, 2023
@andrewtavis
Copy link
Member

Closed via #452 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants