Flet / eslint-to-esformatter

ISC License
30 stars 3 forks source link

Deprecated ESLint Rules #4

Closed Nate-Wilkins closed 9 years ago

Nate-Wilkins commented 9 years ago

Rules that are deprecated by eslint should still have transforms but we need to denote them in someway.

What I did previously was prefix deprecated rules with a - and log a deprecation warning when that rule was in use.

I'll be adding the deprecated rules later today.

Flet commented 9 years ago

What is the purpose of making deprecated rules denoted in the filesystem?

Perhaps export a flag? module.exports.deprecated = true; (similar to informative)

Nate-Wilkins commented 9 years ago

That sounds a lot better! When we add those rules we'll use the flag.