Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Added deprecated flag to rule meta object #118

Closed
wagerfield opened this issue Jan 17, 2017 · 2 comments
Closed

Added deprecated flag to rule meta object #118

wagerfield opened this issue Jan 17, 2017 · 2 comments

Comments

@wagerfield
Copy link
Contributor

Please add the deprecated flag to the meta object for all deprecated rules.

This is the documented way of declaring a rule as being deprecated.

http://eslint.org/docs/developer-guide/working-with-rules#rule-basics

module.exports = {
  meta: {
    deprecated: true
  },
  create: function() {
    ...
  }
}
@hzoo
Copy link
Member

hzoo commented Jan 17, 2017

Do you want to make a pr for this?

@wagerfield
Copy link
Contributor Author

Sure thing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants