noRestrictedImports
Diagnostic Category: lint/nursery/noRestrictedImports
Since: v1.6.0
Sources:
- Same as: 
no-restricted-imports - Same as: 
@typescript-eslint/no-restricted-imports 
Description
Section titled “Description”Disallow specified modules when loaded by import or require.
Options
Section titled “Options”{    "noRestrictedImports": {        "options": {            "paths": {                "lodash": "Using lodash is not encouraged",                "underscore": "Using underscore is not encouraged"            }        }    }}How to configure
Section titled “How to configure”{  "linter": {    "rules": {      "nursery": {        "noRestrictedImports": "error"      }    }  }}