MyCrypto/tslint.json

33 lines
972 B
JSON

{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"jsRules": {
"quotemark": false,
"max-line-length": false,
"trailing-comma": false,
"object-literal-sort-keys": false
},
"rules": {
"quotemark": false,
"trailing-comma": false,
"object-literal-sort-keys": false,
"arrow-return-shorthand": true,
"prefer-method-signature": true,
"arrow-parens": false,
"no-unnecessary-type-assertion": true,
"array-type": [true, "array"],
"jsx-no-lambda": false,
"interface-name": false,
"no-duplicate-imports": true,
"no-console": false,
"no-var-requires": false,
"jsx-wrap-multiline": false,
"comment-format": false,
"ordered-imports": false,
"react-anchor-blank-noopener": true,
"no-http-string": [true, "http://localhost:.*"],
"react-no-dangerous-html": true
},
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"]
}