revert: lint format vue/prop-name-casing

pull/471/head
tangjinzhou 6 years ago
parent 350b941e83
commit e60122a9f4

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

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

Loading…
Cancel
Save