Skip to content

Deprecate jsx-space-before-closing rule#1070

Merged
yannickcr merged 1 commit intojsx-eslint:masterfrom
afairb:deprecate-jsx-space-before-closing
Apr 23, 2017
Merged

Deprecate jsx-space-before-closing rule#1070
yannickcr merged 1 commit intojsx-eslint:masterfrom
afairb:deprecate-jsx-space-before-closing

Conversation

@afairb
Copy link
Copy Markdown
Contributor

@afairb afairb commented Feb 13, 2017

Closes #967

As discussed in #693 (comment), the react/jsx-space-before-closing can now be deprecated in favour of react/jsx-tag-spacing which offers a superset of its functionality.

This PR marks the old rule as deprecated and triggers a warning where it is still being used, reusing some code from the also deprecated react/require-extension rule.

Let me know if I've missed any steps in the deprecation process!

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants