tslint.json
{
"defaultSeverity": "warning",
"extends": [
"tslint:recommended",
"tslint:latest",
"tslint-react"
],
"linterOptions": {
"exclude": [
"node_modules/**/*.ts"
]
},
"jsRules": {},
"rules": {
"eofline": true,
"indent": [
true,
"spaces"
],
"quotemark": [
true,
"single",
"jsx-double"
],
"no-console": [
false
],
"jsx-alignment": [
false
],
"trailing-comma": [
false,
{
"multiline": "never",
"singleline": "never"
}
],
"semicolon": [
false,
"never",
"ignore-interfaces"
],
"jsx-boolean-value": [
"never",
"always"
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-snake-case",
"allow-pascal-case",
"allow-leading-underscore",
"allow-trailing-underscore"
],
"member-ordering": [
true,
{
"order": [
"public-static-field",
"public-instance-field",
"public-constructor",
"private-static-field",
"private-instance-field",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"max-line-length": [
true,
{
"limit": 120,
"ignore-pattern": "^critical |^import |^global |^export {(.*?)}"
}
],
"no-unused-expression": [
false,
"allow-fast-null-checks"
],
"no-empty": false,
"no-namespace": false,
"member-access": false,
"array-type": [
true,
"array"
],
"arrow-parens": false,
"no-var-requires": false,
"ordered-imports": false,
"jsx-no-lambda": false,
"jsx-self-close": true,
"interface-name": false,
"no-empty-interface": false,
"jsx-no-string-ref": true,
"jsx-curly-spacing": "always",
"jsx-wrap-multiline": true,
"space-within-parens": false,
"jsx-no-multiline-js": false,
"templates-use-public": false,
"no-shadowed-variable": false,
"no-submodule-imports": false,
"no-import-side-effect": false,
"no-unnecessary-generics": false,
"no-implicit-dependencies": false,
"object-literal-sort-keys": false,
"interface-over-type-literal": false,
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "always",
"asyncArrow": "always"
}
],
"no-consecutive-blank-lines": [
true,
2
],
"no-object-literal-type-assertion": false
},
"rulesDirectory": []
}