mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
63 lines
1.8 KiB
JSON
63 lines
1.8 KiB
JSON
{
|
|
"extends": [
|
|
"tslint:recommended",
|
|
"tslint-config-airbnb"
|
|
],
|
|
"rules": {
|
|
"align": false,
|
|
"import-name": false,
|
|
"ordered-imports": true,
|
|
"object-literal-sort-keys": false,
|
|
"no-boolean-literal-compare": false,
|
|
"no-increment-decrement": false,
|
|
"no-unused-variable": false,
|
|
"no-namespace": false,
|
|
"no-console": false,
|
|
"no-bitwise": false,
|
|
"no-var-requires": false,
|
|
"radix": false,
|
|
"member-access": true,
|
|
"max-line-length": [false],
|
|
"array-type": [true, "array"],
|
|
"arrow-parens": [true, "ban-single-arg-parens"],
|
|
"ter-arrow-parens": [true, "as-needed"],
|
|
"no-submodule-imports": [true],
|
|
"function-name": [true, {
|
|
"function-regex": "^[a-zA-Z$][\\w\\d]*$",
|
|
"method-regex": "^[a-z$][\\w\\d]*$",
|
|
"private-method-regex": "^[a-z$][\\w\\d]*$",
|
|
"protected-method-regex": "^[a-z$][\\w\\d]*$",
|
|
"static-method-regex": "^[a-z$][\\w\\d]*$"
|
|
}],
|
|
"interface-name": [
|
|
true,
|
|
"never-prefix"
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-pascal-case",
|
|
"allow-leading-underscore"
|
|
],
|
|
"typedef": [
|
|
true,
|
|
"call-signature",
|
|
"parameter",
|
|
"property-declaration",
|
|
"member-variable-declaration"
|
|
],
|
|
"naming-convention": [true, {
|
|
"type": "enumMember",
|
|
"format": "UPPER_CASE"
|
|
}],
|
|
"ter-indent": [true, 4, {
|
|
"SwitchCase": 1
|
|
}],
|
|
"jsx-no-lambda": false,
|
|
"jsx-alignment": false,
|
|
"jsx-wrap-multiline": false,
|
|
"jsx-no-multiline-js": false
|
|
}
|
|
}
|