Shopify / tslint-config-shopify

Shopify’s TypeScript rules and configs.
https://www.npmjs.com/package/tslint-config-shopify
37 stars 3 forks source link

Disable no-use-before-declare #55

Open ismail-syed opened 7 years ago

ismail-syed commented 7 years ago

As per @lemonmade

I was getting incorrect linting warnings for the no-use-before-defined TSLint rule. For now, I just turned it off, since I also found an issue in TSLint where the maintainers say it's not a great rule and is very costly in terms of perf. We also get better checks from TypeScript itself. This results in a roughly 50% speedup for running TSLint on my machine. cc/ @ismail-syed