mirror of https://github.com/lukechilds/ow.git
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.
114 lines
3.1 KiB
114 lines
3.1 KiB
{
|
|
"rules": {
|
|
"adjacent-overload-signatures": true,
|
|
"no-empty-interface": true,
|
|
"no-import-side-effect": true,
|
|
"no-internal-module": true,
|
|
"no-namespace": true,
|
|
"no-non-null-assertion": true,
|
|
"no-parameter-reassignment": true,
|
|
"no-reference": true,
|
|
"no-unnecessary-type-assertion": true,
|
|
"no-var-requires": true,
|
|
"only-arrow-functions": true,
|
|
"prefer-for-of": true,
|
|
"promise-function-async": true,
|
|
"await-promise": true,
|
|
"curly": true,
|
|
"no-arg": true,
|
|
"no-conditional-assignment": true,
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-super": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": true,
|
|
"no-eval": true,
|
|
"no-floating-promises": true,
|
|
"no-for-in-array": true,
|
|
"no-invalid-template-strings": true,
|
|
"no-invalid-this": false,
|
|
"no-misused-new": true,
|
|
"no-shadowed-variable": true,
|
|
"no-sparse-arrays": true,
|
|
"no-string-literal": true,
|
|
"no-string-throw": true,
|
|
"no-switch-case-fall-through": true,
|
|
"no-this-assignment": true,
|
|
"no-unsafe-finally": true,
|
|
"no-unused-expression": true,
|
|
"no-unused-variable": true,
|
|
"no-use-before-declare": true,
|
|
"no-var-keyword": true,
|
|
"prefer-object-spread": true,
|
|
"radix": true,
|
|
"restrict-plus-operands": true,
|
|
"strict-type-predicates": true,
|
|
"switch-default": true,
|
|
"triple-equals": true,
|
|
"typeof-compare": true,
|
|
"use-default-type-parameter": true,
|
|
"use-isnan": true,
|
|
"deprecation": true,
|
|
"eofline": true,
|
|
"indent": [true, "tabs"],
|
|
"no-default-export": true,
|
|
"no-duplicate-imports": true,
|
|
"no-require-imports": true,
|
|
"prefer-const": true,
|
|
"trailing-comma": false,
|
|
"array-type": [true, "array"],
|
|
"arrow-parens": [true, "ban-single-arg-parens"],
|
|
"arrow-return-shorthand": true,
|
|
"binary-expression-operand-order": true,
|
|
"callable-types": true,
|
|
"class-name": true,
|
|
"comment-format": [true, "check-space", "check-uppercase"],
|
|
"completed-docs": [true, "methods"],
|
|
"encoding": true,
|
|
"import-spacing": true,
|
|
"interface-over-type-literal": true,
|
|
"newline-before-return": true,
|
|
"new-parens": true,
|
|
"no-angle-bracket-type-assertion": true,
|
|
"no-boolean-literal-compare": false,
|
|
"no-consecutive-blank-lines": true,
|
|
"no-irregular-whitespace": true,
|
|
"no-reference-import": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-unnecessary-initializer": true,
|
|
"no-unnecessary-qualifier": true,
|
|
"number-literal-format": true,
|
|
"object-literal-key-quotes": [true, "as-needed"],
|
|
"object-literal-shorthand": true,
|
|
"one-variable-per-declaration": true,
|
|
"prefer-method-signature": true,
|
|
"prefer-template": [true, "allow-single-concat"],
|
|
"quotemark": [true, "single", "avoid-template"],
|
|
"semicolon": true,
|
|
"space-before-function-paren": [
|
|
true,
|
|
{
|
|
"anonymous": "never",
|
|
"named": "never",
|
|
"asyncArrow": "always"
|
|
}
|
|
],
|
|
"space-within-parens": [true, 0],
|
|
"switch-final-break": true,
|
|
"type-literal-delimiter": true,
|
|
"variable-name": [true, "check-format", "ban-keywords"],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-module",
|
|
"check-separator",
|
|
"check-rest-spread",
|
|
"check-type",
|
|
"check-typecast",
|
|
"check-type-operator",
|
|
"check-preblock"
|
|
]
|
|
}
|
|
}
|
|
|