1 | <%if (['vue', 'vue3'].includes(framework)) {-%>
|
2 | // ESLint 检查 .vue 文件需要单独配置编辑器:
|
3 | // https://eslint.vuejs.org/user-guide/#editor-integrations
|
4 | <%}-%>
|
5 | {
|
6 | "extends": ["taro/<%= framework %>"]<% if (framework === 'react') {%>,
|
7 | "rules": {
|
8 | "react/jsx-uses-react": "off",
|
9 | "react/react-in-jsx-scope": "off"
|
10 | }<%}%>
|
11 | }
|