1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| module.exports = { root: true, 'extends': [ 'plugin:vue/essential', '@vue/standard' ], rules: { 'generator-star-spacing': 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'vue/no-parsing-error': [2, { 'x-invalid-end-tag': false }], 'no-undef': 'off', 'camelcase': 'off', 'no-extra-boolean-cast': 2, 'no-extra-parens': 2, 'id-match': 1, 'quotes': 0, 'space-comment': 0, 'use-isnan': 2, "indent": ["off", 2], "no-console": "off", "one-var": ['warn', 'never'], "object-curly-spacing": ['warn', 'never'], "space-before-function-paren": 0, "no-multi-spaces": 1, }, parserOptions: { parser: 'babel-eslint' } }
|