mirror of
https://github.com/jlengrand/adyen-node-api-library.git
synced 2026-03-09 23:51:22 +00:00
68 lines
1.4 KiB
JSON
68 lines
1.4 KiB
JSON
|
|
{
|
|
"extends": "tslint:latest",
|
|
"linterOptions": {
|
|
"exclude": ["./src/typings"]
|
|
},
|
|
"rules": {
|
|
"variable-name": {
|
|
"options": "allow-leading-underscore"
|
|
},
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"no-var-keyword": true,
|
|
"quotemark": [
|
|
true,
|
|
"double",
|
|
"avoid-escape"
|
|
],
|
|
"semicolon": [
|
|
true,
|
|
"always",
|
|
"ignore-bound-class-methods"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-module",
|
|
"check-separator",
|
|
"check-type"
|
|
],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
},
|
|
{
|
|
"call-signature": "onespace",
|
|
"index-signature": "onespace",
|
|
"parameter": "onespace",
|
|
"property-declaration": "onespace",
|
|
"variable-declaration": "onespace"
|
|
}
|
|
],
|
|
"no-internal-module": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-null-keyword": true,
|
|
"prefer-const": true,
|
|
"jsdoc-format": true
|
|
}
|
|
} |