// http://eslint.org/docs/user-guide/configuring module.exports = { root: true, parserOptions: { parser: "babel-eslint", sourceType: 'module' }, env: { browser: true, jest: true }, // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style extends: [ 'standard', 'plugin:vue/recommended' ], // required to lint *.vue files plugins: [ 'html' ], settings: { "html/html-extensions": [".html"], // don't include .vue }, // add your custom rules here 'rules': { // allow paren-less arrow functions 'arrow-parens': 0, // allow async-await 'generator-star-spacing': 0, // allow debugger during development 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, 'no-return-assign': 0, // vue-specific rules 'vue/attribute-hyphenation': [2, 'never'], 'vue/no-dupe-keys': 1, 'vue/no-reserved-keys': 2, 'vue/no-shared-component-data': 2, 'vue/no-side-effects-in-computed-properties': 2, 'vue/require-prop-types': 2, 'vue/require-render-return': 2, 'vue/require-valid-default-prop': 2, 'vue/return-in-computed-property': 2, 'vue/v-bind-style': 2, 'vue/v-on-style': 2, 'vue/order-in-components': 2 }, "globals": { "expect": true } }