Eslint: add support for class properties (#21678)
Showing
此差异已折叠。
... | ... | @@ -29,6 +29,12 @@ |
"eslintConfig": { | ||
"root": true, | ||
"extends": "mdcs", | ||
"parser": "@babel/eslint-parser", | ||
"parserOptions": { | ||
"babelOptions": { | ||
"configFile": "./utils/build/.babelrc.json" | ||
} | ||
}, | ||
"plugins": [ | ||
"html" | ||
], | ||
... | ... | @@ -92,6 +98,7 @@ |
"homepage": "https://threejs.org/", | ||
"devDependencies": { | ||
"@babel/core": "^7.13.15", | ||
"@babel/eslint-parser": "^7.13.14", | ||
"@babel/plugin-proposal-class-properties": "^7.13.0", | ||
"@babel/preset-env": "^7.13.15", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
... | ... |
想要评论请 注册 或 登录