first commit
This commit is contained in:
23
app_vue/node_modules/@babel/eslint-parser/lib/configuration.cjs
generated
vendored
Normal file
23
app_vue/node_modules/@babel/eslint-parser/lib/configuration.cjs
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
"use strict";
|
||||
|
||||
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: sourceType === "commonjs" ? "script" : sourceType,
|
||||
requireConfigFile
|
||||
}, otherOptions);
|
||||
};
|
||||
|
||||
//# sourceMappingURL=configuration.cjs.map
|
Reference in New Issue
Block a user