Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@babel/eslint-parser/lib/configuration.cjs from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 842 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/%40babel/eslint-parser/lib/configuration.cjs
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/@babel/eslint-parser/lib/configuration.cjs
-
curl -L -o configuration.cjs https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/%40babel/eslint-parser/lib/configuration.cjs
842 Bytes
| ; | |
| const _excluded = ["babelOptions", "ecmaVersion", "sourceType", "requireConfigFile"]; | |
| function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; } | |
| module.exports = function normalizeESLintConfig(options) { | |
| const { | |
| babelOptions = {}, | |
| ecmaVersion = 2020, | |
| sourceType = "module", | |
| requireConfigFile = true | |
| } = options, | |
| otherOptions = _objectWithoutPropertiesLoose(options, _excluded); | |
| return Object.assign({ | |
| babelOptions: Object.assign({ | |
| cwd: process.cwd() | |
| }, babelOptions), | |
| ecmaVersion: ecmaVersion === "latest" ? 1e8 : ecmaVersion, | |
| sourceType, | |
| requireConfigFile | |
| }, otherOptions); | |
| }; | |
| //# sourceMappingURL=configuration.cjs.map | |