forked from add2cal/add-to-calendar-button
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (30 loc) · 805 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
{
"root": true,
"env": {
"browser": true,
"node": true,
"es6": true
},
"parserOptions": {
"sourceType": "module",
"parser": "@typescript-eslint/parser",
"xss/no-mixed-html": [
2,
{
"functions": {
".encodeURIComponent": {
"passthrough": { "obj": true, "args": true }
}
}
}
]
},
"extends": ["plugin:@typescript-eslint/recommended", "eslint:recommended", "plugin:security/recommended-legacy", "plugin:prettier/recommended", "plugin:wc/recommended"],
"plugins": ["@typescript-eslint", "prettier"],
"ignorePatterns": ["*.min.*", "dist/*", "demo/*", "Gruntfile.js", "set-release.js"],
"rules": {
// TO-DO: Enable rules to find and optimize code style
"eqeqeq": 0,
"curly": 0
}
}