123456789101112131415161718192021222324252627282930 |
- /* eslint-env node */
- require('@rushstack/eslint-patch/modern-module-resolution')
- module.exports = {
- root: true,
- env: {
- browser: true,
- node: true
- },
- globals: {
- loginflag: true,
- $: true,
- JyObj: true,
- _hmt: true,
- vComponentChart: true
- },
- plugins: ['vue'],
- rules: {
- 'vue/no-mutating-props': 'off',
- 'vue/multi-word-component-names': 'off',
- 'no-empty': ['error', { allowEmptyCatch: true }],
- 'no-unused-vars': 'off',
- 'no-console': 'off',
- 'no-debugger': 'warn'
- },
- extends: [
- 'plugin:vue/essential',
- 'eslint:recommended',
- '@vue/eslint-config-prettier'
- ]
- }
|