uber / standard

JavaScript Standard Style — One Style to Rule Them All
MIT License
70 stars 8 forks source link

Add custom performance linting rules. #9

Closed Raynos closed 5 years ago

Raynos commented 9 years ago

r: @jcorbin @Matt-Esch @malandrew

Raynos commented 9 years ago

This needs more work.

Specifically it needs a way to opt-into marking code as performance sensitive; or a way of opting out.

Ideally I want an option to opt out my tests and mark my tests as "not performance sensitive"

andrewdeandrade commented 9 years ago

The try-catch rule which was in lint-trap is good as is. Feel free to add it as a separate pull request. The other rules require more discussion.