JinMao
2022-10-13 5cabd4a6eb8f4e72bfbeb5e40a4085a2e6727b36
.eslintrc.js
@@ -1,6 +1,4 @@
// @ts-check
const { defineConfig } = require('eslint-define-config');
module.exports = defineConfig({
module.exports = {
  root: true,
  env: {
    browser: true,
@@ -20,9 +18,7 @@
  extends: [
    'plugin:vue/vue3-recommended',
    'plugin:@typescript-eslint/recommended',
    'prettier',
    'plugin:prettier/recommended',
    'plugin:jest/recommended',
  ],
  rules: {
    'vue/script-setup-uses-vars': 'error',
@@ -62,6 +58,7 @@
    'vue/singleline-html-element-content-newline': 'off',
    'vue/attribute-hyphenation': 'off',
    'vue/require-default-prop': 'off',
    'vue/require-explicit-emits': 'off',
    'vue/html-self-closing': [
      'error',
      {
@@ -74,6 +71,6 @@
        math: 'always',
      },
    ],
      'vue/multi-word-component-names': 'off'
    'vue/multi-word-component-names': 'off',
  },
});
};