mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 02:55:41 +00:00
26619e28cc
* working version of test custom rule config * setting no imports to false so tests will pass * adding anchor blank noopener rule, rule currently off to allow tests to pass * removing copied code from tslint-microsoft-contrib * adding tslint-microsoft-contrib to dev deps * extending tslint for external http rule * locking tslint-microsoft-contrib version and turning on target blank noopener rule * final fixes for pull #663 * add noopener noreferrer as needed * fixing false positives for a tags without href * really fix linting errors * fix imports * remove accidently(?) added LedgerNano duplicate file
32 lines
941 B
JSON
32 lines
941 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-external-http-link": true
|
|
},
|
|
"rulesDirectory": ["node_modules/tslint-microsoft-contrib", "custom_linting_rules"]
|
|
}
|