forked from numberscope/frontscope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
31 lines (31 loc) · 864 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 */
module.exports = {
root: true,
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript/recommended',
],
env: {
'vue/setup-compiler-macros': true,
},
rules: {
'@typescript-eslint/no-unused-vars': [
'error',
{argsIgnorePattern: '^_'},
],
'@typescript-eslint/no-empty-function': [
'error',
{allow: ['methods']},
],
'max-len': ['error', {code: 80, comments: 80}],
'operator-linebreak': [
'error',
'before',
{overrides: {'=': 'after'}},
],
'vue/multi-word-component-names': 'off',
// For the Paramable interface, v-model directives need type annotation
'vue/valid-v-model': 'off',
},
}