1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- module.exports = {
- root: true,
- parserOptions: {
- parser: 'babel-eslint'
- },
- env: {
- browser: true,
- node: true,
- commonjs: true,
- es6: true,
- jquery: true
- },
- extends: [
-
-
- 'plugin:vue/essential',
-
- 'standard'
- ],
-
- globals: {
- mini: true,
- XLSX: true,
- VCode: true,
- QRCode: true,
- Swiper: true,
- Steer: true
- },
-
- plugins: [
- 'vue'
- ],
-
-
- rules: {
- 'indent': [0, 4, {
- 'SwitchCase': 4
- }],
-
- 'arrow-parens': 0,
-
- 'generator-star-spacing': 'off',
-
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
-
- 'semi': 0,
-
- 'one-var': 0,
-
- 'no-new': 0,
-
- 'no-dupe-keys': 2,
-
- 'no-dupe-args': 2,
-
- 'no-unused-vars': 0,
- 'space-before-function-paren': 0
- }
- };
|