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

ControlStatementSpacing for nextline #140

Open
fey opened this issue Nov 25, 2021 · 0 comments
Open

ControlStatementSpacing for nextline #140

fey opened this issue Nov 25, 2021 · 0 comments

Comments

@fey
Copy link

fey commented Nov 25, 2021

Hello, i think linter should say something about space after '=' on next line

  = search_form_for @q do |f|
    .row.my-2
      .col-6
        / BAD: no space after "="
        =f.input :title_cont, label: false
      .col-4
        = f.input :category_id_eq, as: :select, collection: @categories, value_method: :id, label_method: :name, label: false
      .col-2
        = f.submit 'Search', class: 'btn btn-primary me-2'
        = link_to 'Reset', url_for, class: 'btn btn-outline-primary'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants