UNPKG

onesignal-web-sdk

Version:

Web push notifications from OneSignal.

25 lines (21 loc) 723 B
{ "extends": [ "tslint-eslint-rules", "./tslint-base.json" ], "rules": { "no-constant-condition": true, "prefer-const": true, "semicolon": [true, "always", "ignore-bound-class-methods"], "indent": [true, "spaces", 2], "max-line-length": [true, 120], "trailing-comma": [false], "no-void-expression": true, "no-floating-promises": true, // Not enforcing curlt until "multi-or-nest" is supported // - https://github.com/buzinas/tslint-eslint-rules/issues/205 //"curly": [true, "multi-or-nest"], // eslint has a 'multi-or-nest' option but does not seem to work here "curly": [false], "object-curly-spacing": [true, "always"] } }