mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-25 17:06:52 +01:00
1ada95e04a
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
22 lines
389 B
Text
22 lines
389 B
Text
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"complexity": [2, 14],
|
|
"func-name-matching": 0,
|
|
"id-length": [2, { "min": 1, "max": 24, "properties": "never" }],
|
|
"max-statements": [2, 20],
|
|
"new-cap": [2, { "capIsNewExceptions": ["GetMethod"] }]
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "test/**",
|
|
"rules": {
|
|
"max-lines-per-function": [2, { "max": 68 }],
|
|
},
|
|
}
|
|
],
|
|
}
|