forked from GrabarzUndPartner/nuxt-custom-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
44 lines (44 loc) · 872 Bytes
/
.eslintrc.json
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
42
43
44
{
"root": true,
"parserOptions": {
"parser": "@babel/eslint-parser",
"sourceType": "module",
"requireConfigFile": false
},
"extends": [
"@nuxtjs",
"plugin:security/recommended",
"plugin:sonarjs/recommended",
"plugin:no-unsanitized/DOM"
],
"plugins": [
"no-secrets",
"xss"
],
"rules": {
"no-secrets/no-secrets": [
"error"
],
"xss/no-location-href-assign": 2,
"xss/no-mixed-html": 0,
"semi": [
2,
"always"
],
"vue/no-v-html": "off",
"vue/component-definition-name-casing": [
"error",
"PascalCase"
],
"vue/component-name-in-template-casing": [
"error",
"kebab-case",
{
"registeredComponentsOnly": true,
"ignores": []
}
],
"sonarjs/no-duplicate-string": 0,
"vue/multi-word-component-names": "off"
}
}