1234567891011121314151617181920212223242526272829 |
- // https://eslint.org/docs/user-guide/configuring
- module.exports = {
- root: true,
- parserOptions: {
- parser: 'babel-eslint'
- },
- env: {
- node: true,
- browser: true
- },
- extends: [
- 'plugin:vue/essential',
- 'standard'
- ],
- plugins: [
- 'vue'
- ],
- // add your custom rules here
- rules: {
- // allow async-await
- 'generator-star-spacing': 'off',
- // allow debugger during development
- indent: 0,
- 'no-useless-escape': 0,
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
- 'vue/no-side-effects-in-computed-properties': 0
- }
- }
|