Advertisement
daniloalfredo

TSLint

Jul 22nd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.76 KB | None | 0 0
  1. {
  2.   "rulesDirectory": [
  3.     "node_modules/codelyzer"
  4.   ],
  5.   "rules": {
  6.     "callable-types": true,
  7.     "class-name": true,
  8.     "comment-format": [
  9.       false
  10.     ],
  11.     "curly": true,
  12.     "eofline": true,
  13.     "forin": true,
  14.     "import-blacklist": [false, "rxjs"],
  15.     "import-spacing": true,
  16.     "indent": [
  17.       true,
  18.       "spaces"
  19.     ],
  20.     "interface-over-type-literal": true,
  21.     "label-position": true,
  22.     "max-line-length": [
  23.       true,
  24.       200
  25.     ],
  26.     "member-access": false,
  27.     "member-ordering": [
  28.       true,
  29.       "static-before-instance",
  30.       "variables-before-functions"
  31.     ],
  32.     "no-arg": true,
  33.     "no-bitwise": false,
  34.     "no-console": [
  35.       true,
  36.       "debug",
  37.       "info",
  38.       "time",
  39.       "timeEnd",
  40.       "trace"
  41.     ],
  42.     "no-construct": true,
  43.     "no-debugger": true,
  44.     "no-duplicate-variable": true,
  45.     "no-empty": false,
  46.     "no-empty-interface": true,
  47.     "no-eval": true,
  48.     "no-inferrable-types": [true, "ignore-params"],
  49.     "no-shadowed-variable": true,
  50.     "no-string-literal": false,
  51.     "no-string-throw": true,
  52.     "no-switch-case-fall-through": true,
  53.     "no-trailing-whitespace": true,
  54.     "no-unused-expression": true,
  55.     "no-use-before-declare": true,
  56.     "no-var-keyword": true,
  57.     "object-literal-sort-keys": false,
  58.     "one-line": [
  59.       false,
  60.       "check-open-brace",
  61.       "check-catch",
  62.       "check-else",
  63.       "check-whitespace"
  64.     ],
  65.     "prefer-const": true,
  66.     "quotemark": [
  67.       true,
  68.       "single"
  69.     ],
  70.     "radix": true,
  71.     "semicolon": [
  72.       true,
  73.       "always"
  74.     ],
  75.     "triple-equals": [
  76.       false,
  77.       "allow-null-check"
  78.     ],
  79.     "typedef-whitespace": [
  80.       true,
  81.       {
  82.         "call-signature": "nospace",
  83.         "index-signature": "nospace",
  84.         "parameter": "nospace",
  85.         "property-declaration": "nospace",
  86.         "variable-declaration": "nospace"
  87.       }
  88.     ],
  89.     "typeof-compare": true,
  90.     "unified-signatures": true,
  91.     "variable-name": false,
  92.     "whitespace": [
  93.       true,
  94.       "check-branch",
  95.       "check-decl",
  96.       "check-operator",
  97.       "check-separator",
  98.       "check-type"
  99.     ],
  100.  
  101.     "directive-selector": [true, "attribute", "app", "camelCase"],
  102.     "component-selector": [true, "element", "app", "kebab-case"],
  103.     "use-input-property-decorator": true,
  104.     "use-output-property-decorator": true,
  105.     "use-host-property-decorator": true,
  106.     "no-input-rename": true,
  107.     "no-output-rename": true,
  108.     "use-life-cycle-interface": true,
  109.     "use-pipe-transform-interface": true,
  110.     "component-class-suffix": true,
  111.     "directive-class-suffix": true,
  112.     "no-access-missing-member": true,
  113.     "templates-use-public": true,
  114.     "invoke-injectable": true
  115.   }
  116. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement