We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tell us about your environment
Please show your full configuration:
// http://eslint.org/docs/user-guide/configuring module.exports = { root: true, // parser: 'babel-eslint', parserOptions: { parser: 'babel-eslint', sourceType: 'module' }, env: { browser: true, }, // https://github.com/standard/standard/blob/master/docs/RULES-en.md extends: [ 'plugin:vue/recommended', 'standard' ], // required to lint *.vue files plugins: [ 'vue' ], globals: { NODE_ENV: true, SITE_URL: true }, overrides: [ { files: ['*.vue'], rules: { indent: 'off' } } ], // add your custom rules hered rules: { 'indent': ['error', 4, { 'SwitchCase': 1 }], // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/array-bracket-spacing.md 'vue/array-bracket-spacing': ['error', 'never'], 'array-bracket-spacing': ['error', 'never'], // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/arrow-spacing.md 'vue/arrow-spacing': ['error', {'before': true, 'after': true}], 'arrow-spacing': ['error', {'before': true, 'after': true}], // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/attribute-hyphenation.md 'vue/attribute-hyphenation': ['error', 'always'], // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/attributes-order.md // 'vue/attributes-order': ['error', { // 'order': [ // 'DEFINITION', // 'LIST_RENDERING', // 'CONDITIONALS', // 'RENDER_MODIFIERS', // 'GLOBAL', // 'UNIQUE', // 'TWO_WAY_BINDING', // 'OTHER_DIRECTIVES', // 'OTHER_ATTR', // 'EVENTS', // 'CONTENT' // ] // }], // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/block-spacing.md 'vue/block-spacing': ['error', 'never'], 'block-spacing': ['error', 'never'], // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/brace-style.md 'vue/brace-style': ['error', 'stroustrup'], 'brace-style': ['error', 'stroustrup'], // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/camelcase.md 'vue/camelcase': ['error', {'properties': 'always', allow: ['^backend_']}], 'camelcase': ['error', {'properties': 'always', allow: ['^backend_']}], // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/comma-dangle.md 'vue/comma-dangle': ['error', 'never'], 'comma-dangle': ['error', 'never'], // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/comment-directive.md 'vue/comment-directive': 1, // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/component-name-in-template-casing.md 'vue/component-name-in-template-casing': ['error', 'kebab-case', { 'registeredComponentsOnly': false, 'ignores': ['/^MyComponent/'] }], // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/dot-location.md 'vue/dot-location': ['error', 'object'], 'dot-location': ['error', 'object'] } }
What did you do?
<template> <div id="app" class="biz-app"> </div> </template> <script> export default { name: 'app', data () { return { } }, async created () { const obj = { backend_data: 1 } }, mounted () { }, methods: { } } </script> <style> </style>
What did you expect to happen? No vue/dot-location mistakes.
vue/dot-location
What actually happened?
The text was updated successfully, but these errors were encountered:
sorry, It's #794
Sorry, something went wrong.
No branches or pull requests
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
No
vue/dot-location
mistakes.What actually happened?
The text was updated successfully, but these errors were encountered: