forked from humanmade/authorship
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
37 lines (36 loc) · 833 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
{
"parser": "@typescript-eslint/parser",
"extends": [
"@humanmade",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-unused-vars": [ "warn", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true
} ],
"@typescript-eslint/no-use-before-define": [ "error" ],
"jsdoc/require-jsdoc": [ "error", {
"require": {
"FunctionDeclaration": true
}
} ],
// Superseded by TypeScript.
"jsdoc/require-param": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-returns": "off",
"no-unused-vars": "off",
"no-use-before-define": "off"
},
"ignorePatterns": [
"build/**",
"lib/**",
"node_modules/**",
"tests/wordpress/**",
"vendor/**"
]
}