github.com/kuoss/venti@v0.2.20/web/.eslintrc.cjs (about)

     1  /* eslint-env node */
     2  require('@rushstack/eslint-patch/modern-module-resolution');
     3  
     4  module.exports = {
     5    root: true,
     6    extends: [
     7      "plugin:vue/vue3-essential",
     8      'eslint:recommended',
     9      '@vue/eslint-config-typescript',
    10      '@vue/eslint-config-prettier/skip-formatting'
    11    ],
    12    env: {
    13      // 'vue/setup-compiler-macros': true,
    14    },
    15    parserOptions: {
    16      ecmaVersion: 'latest'
    17    },
    18    // plugins: ['prettier'],
    19    rules: {
    20      '@typescript-eslint/no-unused-vars': ['error', { 'destructuredArrayIgnorePattern': '^_' }],
    21      'vue/multi-word-component-names': 'off',
    22      'vue/require-v-for-key': 'off',
    23      'prettier/prettier': [
    24        'error',
    25        {
    26          singleQuote: true,
    27          semi: true,
    28          useTabs: false,
    29          tabWidth: 2,
    30          trailingComma: 'all',
    31          printWidth: 120,
    32          bracketSpacing: true,
    33          arrowParens: 'avoid',
    34        },
    35      ],
    36    }
    37  };