-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
75 lines (75 loc) · 1.53 KB
/
.eslintrc
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"parser": "@babel/eslint-parser",
"extends": [
"eslint:recommended",
"plugin:jsdoc/recommended"
],
"plugins": ["jsdoc", "tree-shaking"],
"rules": {
// Handle cases where we are destructuring but may not be using the initial
// variables
"no-unused-vars": [
"error",
{
"args": "after-used",
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"sort-imports": [
"error",
{
"ignoreCase": true,
"ignoreMemberSort": true
}
],
"jsdoc/require-jsdoc": [
2,
{
"require": {
"ArrowFunctionExpression": true,
"ClassDeclaration": true,
"FunctionDeclaration": true,
"MethodDefinition": true
}
}
],
"jsdoc/require-param-description": 2,
"jsdoc/require-param-name": 2,
"jsdoc/require-param": 2,
"jsdoc/require-param-type": 2,
"jsdoc/valid-types": 2,
"jsdoc/check-param-names": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 2,
"jsdoc/check-values": 0
},
"overrides": [
{
"files": ["cypress/**/*.e2e.js", "cypress/**/*.js"],
"extends": [
"plugin:cypress/recommended"
],
"parserOptions": {
"sourceType": "module"
}
}
],
"env": {
"node": true,
"browser": true,
"es6": true,
"jest": true,
"jasmine": true
},
"globals": {
"__DEV__": true
},
"settings": {
"jsdoc": {
"tagNamePreference": {
"augments": "extends"
}
}
}
}