MyCrypto/tslint.json
William O'Beirne ecccdcfc33 MEW-01-005 Web - Remove all HTTP links (#978)
* Replace custom linter rule with no-http-string rule. Fix exceptions.

* Replaced all http links in translations with https links.
2018-02-01 16:51:14 -06:00

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"]
}