-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
37 lines (37 loc) · 1.02 KB
/
.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
{
"env": {
"browser": true,
"es2023": true
},
"extends": ["eslint-config-standard", "plugin:editorconfig/all", "plugin:jsdoc/recommended" ],
"plugins": [ "editorconfig", "jsdoc"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"ignorePatterns": ["**/lib/**/*.js"],
"rules": {
"max-len": 0,
"curly": 0,
"jsdoc/no-undefined-types": [1, {
"definedTypes": [
"NodeListOf",
"FileSystemFileHandle",
"JSZip",
"FocusOptions"
]
}],
"jsdoc/check-tag-names": [1, {
"definedTags": ["attr", "cssprop", "tagname"]
}],
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": false,
"FunctionExpression": true
}
}]
}
}