onesignal-web-sdk
Version:
Web push notifications from OneSignal.
33 lines (32 loc) • 959 B
JSON
// From internal OneSignal tslint.json
{
"defaultSeverity": "error",
"jsRules": {},
"rules": {
"arrow-parens": [true, "ban-single-arg-parens"],
"class-name": true,
"curly": [true, "ignore-same-line"],
"interface-name": [false],
"max-line-length": [true, 100],
"member-ordering": [false],
"no-duplicate-switch-case": true,
"no-namespace": false,
"no-reference": false,
"no-var-requires": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"ordered-imports": [false],
"prefer-for-of": true,
"prefer-template": true,
"trailing-comma": [true, {
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
}
}],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]
},
"rulesDirectory": []
}