UNPKG

eslint-plugin-sonarjs

Version:
20 lines (11 loc) • 517 B
# sonarjs/new-operator-misuse šŸ“ "new" should only be used with functions and classes. šŸ’¼ 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 | Default | | :-------------- | :------ | :------ | | `considerJSDoc` | Boolean | `false` | <!-- end auto-generated rule options list -->