Closed
Description
Tell us about your environment
- ESLint version: 5.12.0
- eslint-plugin-vue version: 5.1.0
- Node version: 8.11.4
Please show your full configuration:
module.exports = {
root: true,
env: {
browser: true,
node: true
},
parserOptions: {
parser: 'babel-eslint'
},
extends: [
'standard',
'plugin:vue/recommended'
],
// required to lint *.vue files
plugins: [
'vue'
],
// add your custom rules here
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
"no-multi-spaces": "off",
"key-spacing": "off",
"comma-dangle": ["warn", "always-multiline"],
"vue/max-attributes-per-line": ["warn", {
"singleline": 3,
"multiline": {
"max": 1,
"allowFirstLine": false
}
}],
},
globals: {
CORE_API_BASE_URL: false,
},
}
What did you do?
<script>
export default {
props: {
tallStyle: Object,
'inverse': Boolean,
'actions': Array,
}
}
</script>
What did you expect to happen?
The warnings should show the property names "tallStyle" and "actions"
What actually happened?
95:5 warning Prop 'tallStyle' requires default value to be set vue/require-default-prop
97:5 warning Prop 'undefined' requires default value to be set vue/require-default-prop
Metadata
Metadata
Assignees
Labels
No labels