forms
Version:
An easy way to create, parse, and validate forms
38 lines (34 loc) • 664 B
Plain Text
{
"root": true,
"extends": "@ljharb",
"rules": {
"callback-return": 0,
"camelcase": 0,
"eqeqeq": [2, "allow-null"],
"func-name-matching": 0,
"id-length": [2, { "min": 1, "max": 30 }],
"indent": [2, 4],
"max-lines": 0,
"max-lines-per-function": 0,
"max-params": [2, 4],
"multiline-comment-style": 0,
"no-negated-condition": 1,
"operator-linebreak": [2, "before"],
"sort-keys": 0,
},
"overrides": [
{
"files": "test/**",
"rules": {
"max-lines-per-function": 0,
},
},
{
"files": "example/**",
"rules": {
"new-cap": [2, { "capIsNewExceptions": ["Template"] }],
"no-magic-numbers": 0,
},
},
],
}