d9060f5abd
### changes #### remove trailing spaces When I was using example I noticed trailing spaces. So, this PR removes the trailing spaces of json file, README, and others. `examples/with-jest-typescript/src/modules/cars/Overview.tsx` also has it, but this time it did not change as tslint error occurs at commit.
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"extends": [
|
|
"tslint-config-standard",
|
|
"tslint:latest",
|
|
"tslint-react"
|
|
],
|
|
"rules": {
|
|
"indent": [true, "spaces"],
|
|
"jsx-no-lambda": false,
|
|
"jsx-no-multiline-js": false,
|
|
"max-line-length": false,
|
|
"no-console": false,
|
|
"no-object-literal-type-assertion": false,
|
|
"no-submodule-imports": [
|
|
true,
|
|
"next"
|
|
],
|
|
"no-unused-variable": false,
|
|
"space-before-function-paren": false,
|
|
"ter-indent": [true, 2],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
},
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-module",
|
|
"check-preblock",
|
|
"check-rest-spread",
|
|
"check-separator",
|
|
"check-typecast",
|
|
"check-type-operator"
|
|
]
|
|
}
|
|
}
|