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

feat(webapp): add eslint rule for mustache style #758

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

Rotzbua
Copy link
Contributor

@Rotzbua Rotzbua commented Jul 11, 2023

Two styles are used in project:

  • {{abc}}
  • {{ abc }}

With spaces {{ abc }} is eslint default and forced by this new rule.

Advantage

Style can be automatically applied by npm lint --fix.

Reference

https://eslint.vuejs.org/rules/mustache-interpolation-spacing.html

Copy link
Member

@peterthomassen peterthomassen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@peterthomassen peterthomassen merged commit 0ad7a6e into desec-io:main Jul 13, 2023
@Rotzbua Rotzbua deleted the add_eslint_rule branch July 13, 2023 14:58
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.

2 participants