UNPKG

eslint-plugin-sonarjs

Version:
18 lines (10 loc) • 484 B
# "new" should only be used with functions and classes (`sonarjs/new-operator-misuse`) šŸ’¼ This rule is enabled in the āœ… `recommended` config. šŸ’­ This rule requires [type information](https://typescript-eslint.io/linting/typed-linting). <!-- end auto-generated rule header --> ## Options <!-- begin auto-generated rule options list --> | Name | Type | | :-------------- | :------ | | `considerJSDoc` | Boolean | <!-- end auto-generated rule options list -->