@factory-utils/linter
Version:
Factory-Utils Linter contains configuration files for various linters
74 lines (73 loc) • 2.65 kB
JSON
{
"rules": {
"member-ordering": [true, {
"order": [
"public-static-field",
"protected-static-field",
"private-static-field",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"constructor",
"public-static-method",
"protected-static-method",
"private-static-method",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}],
"typedef": [true, "call-signature", "parameter", "member-variable-declaration", "variable-declaration"],
"curly": true,
"no-any": true,
"no-conditional-assignment": true,
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-unsafe-finally": true,
"no-unused-expression": true,
"no-use-before-declare": false,
"no-var-keyword": true,
"no-consecutive-blank-lines": true,
"no-mergeable-namespace": true,
"no-require-imports": false,
"no-trailing-whitespace": true,
"triple-equals": true,
"use-isnan": true,
"eofline": true,
"indent": [true, "spaces"],
"linebreak-style": [true, "LF"],
"trailing-comma": [true, {"multiline": "never", "singleline": "never"}],
"align": [true, "statements"],
"arrow-parens": [true, "ban-single-arg-parens"],
"class-name": true,
"comment-format": [true, "check-space"],
"jsdoc-format": true,
"new-parens": true,
"interface-name": [true, "never-prefix"],
"one-line": [true, "check-catch", "check-else"],
"one-variable-per-declaration": true,
"quotemark": [true, "single", "jsx-double"],
"semicolon": [true, "always"],
"typedef-whitespace": [true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type"
]
}
}