Browse Source

revert: lint format vue/prop-name-casing

pull/471/head
tangjinzhou 6 years ago
parent
commit
e60122a9f4
  1. 9
      .eslintrc
  2. 2
      components/vc-tabs/src/Tabs.jsx

9
.eslintrc

@ -1,5 +1,5 @@
{
"root": true,
"root": true,
"env": {
"browser": true,
"node": true,
@ -8,7 +8,7 @@
"es6": true
},
"parserOptions": {
"parser": "babel-eslint"
"parser": "babel-eslint"
},
"extends": ["plugin:vue/recommended", "prettier"],
"rules": {
@ -19,6 +19,7 @@
"semi": ["error", "always"],
"vue/require-prop-types": "off",
"vue/require-default-prop": "off",
"vue/no-reserved-keys": "off"
"vue/no-reserved-keys": "off",
"vue/prop-name-casing": "off"
}
}
}

2
components/vc-tabs/src/Tabs.jsx

@ -41,7 +41,7 @@ export default {
tabBarPosition: PropTypes.string.def('top'),
activeKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
defaultActiveKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
propsSymbol: PropTypes.any,
__propsSymbol__: PropTypes.any,
},
data() {
const props = getOptionProps(this);

Loading…
Cancel
Save