You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like when you have prettier setup as a code formatter, some eslint format specific rules are overriden. This is observed on vscode when prettier is installed as an extension and as the default formatter, there's a twitch as eslint formats the code, then prettier does to almost immediately.
Possible solutions to this would be to lean more towards eslint as a formatter and remove prettier
or
Add prettier config to the eslintrc file through eslint-config-prettier after the nuxt-config to ignore some rules from eslint that prettier is in charge of handling
Version
@nuxthq/ui: v2.5.0
nuxt: v3.6.2
Steps to reproduce
On vscode, ensure both eslint and prettier extensions are installed.
open any component i.e. (Avatar.vue) right click on content to format with prettier (or just save)
The text was updated successfully, but these errors were encountered:
Seems like when you have prettier setup as a code formatter, some eslint format specific rules are overriden. This is observed on vscode when prettier is installed as an extension and as the default formatter, there's a twitch as eslint formats the code, then prettier does to almost immediately.
Possible solutions to this would be to lean more towards eslint as a formatter and remove prettier
or
Add prettier config to the eslintrc file through
eslint-config-prettier
after the nuxt-config to ignore some rules from eslint that prettier is in charge of handlingVersion
@nuxthq/ui: v2.5.0
nuxt: v3.6.2
Steps to reproduce
On vscode, ensure both eslint and prettier extensions are installed.
The text was updated successfully, but these errors were encountered: