@muffin-dev/tslint-config
Version:
TSLint module recommended configuration for Muffin Dev projects.
128 lines • 2.57 kB
JSON
{
"jsRules": {
"arrow-parens": false,
"arrow-returns-shorthand": false,
"indent": [
true,
"spaces",
4
],
"max-line-length": [
true,
{
"limit": 140,
"ignore-pattern": "^import |^export {(.*?)}"
}
],
"no-consecutive-blank-lines": [
true,
2
],
"no-string-literal": false,
"object-literal-key-quotes": [
true,
"consistent"
],
"one-line": false,
"quotemark": [
true,
"single"
],
"trailing-comma": false,
"variable-name": {
"options": [
"allow-leading-underscore"
]
},
"whitespace": [
true,
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-preblock",
"check-postbrace"
]
},
"rules": {
"arrow-parens": false,
"arrow-returns-shorthand": false,
"indent": [
true,
"spaces",
4
],
"max-line-length": [
true,
{
"limit": 140,
"ignore-pattern": "^import |^export {(.*?)}"
}
],
"no-consecutive-blank-lines": [
true,
2
],
"no-string-literal": false,
"object-literal-key-quotes": [
true,
"consistent"
],
"one-line": false,
"quotemark": [
true,
"single"
],
"trailing-comma": false,
"variable-name": {
"options": [
"allow-leading-underscore"
]
},
"whitespace": [
true,
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-preblock",
"check-postbrace"
],
"ban-types": false,
"member-ordering": [
true,
{
"order": [
"public-static-field",
"protected-static-field",
"private-static-field",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"public-constructor",
"protected-constructor",
"private-constructor",
"public-static-method",
"public-instance-method",
"protected-static-method",
"protected-instance-method",
"private-static-method",
"private-instance-method"
]
}
],
"ordered-imports": [
true,
{
"import-sources-order": "any",
"named-imports-order": "lowercase-last"
}
]
}
}