no-restricted-library-load
Apply configured library restrictions to literal runtime loads and CommonJS resolution references.
Why
Dynamic imports, CommonJS loads, and package resolution checks can bypass library restrictions enforced for static imports.
Fix
Use the configured replacement for the runtime dependency reference; resolution checks do not themselves load a module.
Examples
const client = require("axios");import axios from "axios";