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

Fix tag-req-attr #93

Merged
merged 5 commits into from
Feb 21, 2024
Merged

Fix tag-req-attr #93

merged 5 commits into from
Feb 21, 2024

Conversation

nikolai-shabalin
Copy link
Contributor

Closed #87

Теперь правило rag-req-attr может иметь опцию ignore

Например

{
  'htmlacademy/tag-req-attr': [
    true,
    {
      'input': [
        {
          name: 'name',
          ignore: {
            'type': 'submit'
          }
        }
      ]
    }
  ]
}

не будет требовать атрибута name для <input> с type="submit"

@nikolai-shabalin nikolai-shabalin merged commit f9e0643 into main Feb 21, 2024
1 check passed
@nikolai-shabalin nikolai-shabalin deleted the fix/tag-req-attr branch February 21, 2024 18:42
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.

Проблема: требуется описание для input type="submit"
1 participant