You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
389 B

5 years ago
{
"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 }],
},
}
],
}