Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
10
Frontend-Learner/node_modules/eslint-plugin-import-x/lib/utils/static-require.js
generated
vendored
Normal file
10
Frontend-Learner/node_modules/eslint-plugin-import-x/lib/utils/static-require.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
export function isStaticRequire(node) {
|
||||
return (node &&
|
||||
node.callee &&
|
||||
node.callee.type === 'Identifier' &&
|
||||
node.callee.name === 'require' &&
|
||||
node.arguments.length === 1 &&
|
||||
node.arguments[0].type === 'Literal' &&
|
||||
typeof node.arguments[0].value === 'string');
|
||||
}
|
||||
//# sourceMappingURL=static-require.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue