forked from paritytech/banana_split
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
41 lines (41 loc) · 786 Bytes
/
.eslintrc.js
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
32
33
34
35
36
37
38
39
40
41
module.exports = {
parser: "vue-eslint-parser", // Specifies the ESLint parser
extends: [
"eslint:recommended",
"plugin:vue/recommended",
"plugin:security/recommended"
],
parserOptions: {
sourceType: "module",
ecmaVersion: 2018,
ecmaFeatures: {
globalReturn: false,
impliedStrict: false,
jsx: false
},
parser: "@typescript-eslint/parser"
},
env: {
browser: true,
node: true
},
rules: {
"vue/html-self-closing": [
"warning",
{
html: "never"
}
],
"vue/v-on-style": ["warning", "longform"],
"vue/max-attributes-per-line": [
"warning",
{
singleline: 3,
multiline: {
max: 1,
allowFirstLine: true
}
}
]
}
};