forked from vernemq/vmq_webadmin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.cjs
31 lines (30 loc) · 890 Bytes
/
.eslintrc.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')
module.exports = {
root: true,
rules: {
'vue/valid-v-slot': ['error', { allowModifiers: true }],
'vue/multi-word-component-names': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
extends: [
'plugin:vue/vue3-recommended',
'eslint:recommended',
'@vue/eslint-config-typescript/recommended',
'@vue/eslint-config-prettier/skip-formatting',
],
overrides: [
{
files: ['e2e/**/*.{js,ts,jsx,tsx}'],
extends: ['plugin:playwright/recommended'],
},
],
parserOptions: {
ecmaVersion: 'latest',
},
}