-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
area: eslintoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Description
Bug Report
Input Code
// test.js
export function test(obj) {
const { x, y } = obj;
var result = {
x: `${x}<${x}`,
y: `${x}[${y}-${x}]`,
};
return result;
}// .babelrc
{
"presets": [
[
"@babel/preset-env"
]
],
"plugins": ["@babel/transform-runtime"]
}
// .eslintrc.js
module.exports = {
env: {
browser: true,
commonjs: true,
es6: true,
node: true,
jquery: true,
},
root: true,
parserOptions: {
requireConfigFile: false,
parser: '@babel/eslint-parser',
ecmaVersion: 2020,
sourceType: 'module',
ecmaFeatures: {
defaultParams: true,
},
},
plugins: ['vue', 'prettier', 'feq'],
settings: {
'import/resolver': {
webpack: {
config: 'build/webpack.base.conf.js',
},
},
},
extends: ['plugin:vue/essential', 'airbnb-base'],
globals: {},
rules: {},
};Expected behavior
- Babel version(s): [v7.13.10]
- Node/npm version: [Node v12.19.0/npm 6.14.9]
- OS: [macOS 10.14.6]
- How you are using Babel: [`webpack`]
ChrisWiles, milkbump, r3b311i0n and Enase
Metadata
Metadata
Assignees
Labels
area: eslintoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
