123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- module.exports = {
-
-
-
- root: true,
- parserOptions: {
- parser: 'babel-eslint',
- ecmaVersion: 2018,
- sourceType: 'module'
- },
- env: {
- browser: true
- },
-
- extends: [
-
-
-
-
-
- 'plugin:vue/essential',
-
-
- 'standard'
- ],
- plugins: [
-
-
- 'vue',
- ],
- globals: {
- ga: true,
- cordova: true,
- __statics: true,
- process: true,
- Capacitor: true,
- chrome: true
- },
-
- rules: {
-
- 'generator-star-spacing': 'off',
-
- 'arrow-parens': 'off',
- 'one-var': 'off',
- 'import/first': 'off',
- 'import/named': 'error',
- 'import/namespace': 'error',
- 'import/default': 'error',
- 'import/export': 'error',
- 'import/extensions': 'off',
- 'import/no-unresolved': 'off',
- 'import/no-extraneous-dependencies': 'off',
- 'prefer-promise-reject-errors': 'off',
-
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
- }
- }
|