aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/.yarn/sdks/eslint
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-07-26 15:02:55 +0800
committercrupest <crupest@outlook.com>2020-07-26 15:02:55 +0800
commitf5d10683a1edeba4dabe148ff7aa682c044f7496 (patch)
treed8f7edae96baa26823dee80ccc9329a23ac04c3c /Timeline/ClientApp/.yarn/sdks/eslint
parent7753c9cad23b06c2acdd908a5a7cc3863bfa6b61 (diff)
downloadtimeline-f5d10683a1edeba4dabe148ff7aa682c044f7496.tar.gz
timeline-f5d10683a1edeba4dabe148ff7aa682c044f7496.tar.bz2
timeline-f5d10683a1edeba4dabe148ff7aa682c044f7496.zip
Merge front end repo
Diffstat (limited to 'Timeline/ClientApp/.yarn/sdks/eslint')
-rw-r--r--Timeline/ClientApp/.yarn/sdks/eslint/lib/api.js20
-rw-r--r--Timeline/ClientApp/.yarn/sdks/eslint/package.json6
2 files changed, 26 insertions, 0 deletions
diff --git a/Timeline/ClientApp/.yarn/sdks/eslint/lib/api.js b/Timeline/ClientApp/.yarn/sdks/eslint/lib/api.js
new file mode 100644
index 00000000..ac3c9fc0
--- /dev/null
+++ b/Timeline/ClientApp/.yarn/sdks/eslint/lib/api.js
@@ -0,0 +1,20 @@
+#!/usr/bin/env node
+
+const {existsSync} = require(`fs`);
+const {createRequire, createRequireFromPath} = require(`module`);
+const {resolve} = require(`path`);
+
+const relPnpApiPath = "../../../../.pnp.js";
+
+const absPnpApiPath = resolve(__dirname, relPnpApiPath);
+const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath);
+
+if (existsSync(absPnpApiPath)) {
+ if (!process.versions.pnp) {
+ // Setup the environment to be able to require eslint/lib/api.js
+ require(absPnpApiPath).setup();
+ }
+}
+
+// Defer to the real eslint/lib/api.js your application uses
+module.exports = absRequire(`eslint/lib/api.js`);
diff --git a/Timeline/ClientApp/.yarn/sdks/eslint/package.json b/Timeline/ClientApp/.yarn/sdks/eslint/package.json
new file mode 100644
index 00000000..517ac919
--- /dev/null
+++ b/Timeline/ClientApp/.yarn/sdks/eslint/package.json
@@ -0,0 +1,6 @@
+{
+ "name": "eslint",
+ "version": "7.5.0-pnpify",
+ "main": "./lib/api.js",
+ "type": "commonjs"
+} \ No newline at end of file