Guest User

Untitled

a guest
May 26th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 KB | None | 0 0
  1. {
  2. "rulesDirectory": [
  3. "node_modules/codelyzer"
  4. ],
  5. "rules": {
  6. "prefer-object-spread": true,
  7. "object-literal-shorthand": true,
  8. "object-literal-key-quotes": [
  9. true,
  10. "as-needed"
  11. ],
  12. "no-unnecessary-class": [
  13. true,
  14. "allow-constructor-only",
  15. "allow-static-only",
  16. "allow-empty-class"
  17. ],
  18. "no-implicit-dependencies": true,
  19. "no-unnecessary-initializer": true,
  20. "only-arrow-functions": [
  21. true,
  22. "allow-declarations",
  23. "allow-named-functions"
  24. ],
  25. "align": [
  26. true,
  27. "parameters",
  28. "statements"
  29. ],
  30. "trailing-comma": [
  31. true,
  32. {
  33. "multiline": "never",
  34. "singleline": "never",
  35. "esSpecCompliant": true
  36. }
  37. ],
  38. "no-invalid-this": [
  39. true,
  40. "check-function-in-method"
  41. ],
  42. "arrow-parens": [
  43. true,
  44. "ban-single-arg-parens"
  45. ],
  46. "array-type": [
  47. true,
  48. "generic"
  49. ],
  50. "no-sparse-arrays": true,
  51. "arrow-return-shorthand": true,
  52. "new-parens": true,
  53. "no-misused-new": true,
  54. "no-duplicate-super": true,
  55. "no-duplicate-imports": true,
  56. "no-require-imports": true,
  57. "no-default-export": true,
  58. "no-return-await": true,
  59. "no-reference": true,
  60. "no-null-keyword": true,
  61. "no-non-null-assertion": true,
  62. "prefer-function-over-method": [
  63. true,
  64. "allow-public",
  65. "allow-protected"
  66. ],
  67. "no-duplicate-variable": [
  68. true,
  69. "check-parameters"
  70. ],
  71. "prefer-method-signature": true,
  72. "adjacent-overload-signatures": true,
  73. "callable-types": true,
  74. "class-name": true,
  75. "comment-format": [
  76. true,
  77. "check-space",
  78. "check-lowercase",
  79. {"ignore-words": ["TODO"]}
  80. ],
  81. "jsdoc-format": true,
  82. "curly": [
  83. true,
  84. "as-needed"
  85. ],
  86. "no-redundant-jsdoc": true,
  87. "switch-default": true,
  88. "eofline": true,
  89. "no-duplicate-switch-case": true,
  90. "encoding": true,
  91. "max-file-line-count": [true, 1500],
  92. "cyclomatic-complexity": [
  93. true,
  94. 20
  95. ],
  96. "no-unsafe-finally": true,
  97. "import-blacklist": [
  98. true
  99. ],
  100. "import-spacing": true,
  101. "indent": [
  102. true,
  103. "spaces",
  104. 2
  105. ],
  106. "interface-over-type-literal": true,
  107. "label-position": true,
  108. "max-line-length": [
  109. true,
  110. 140
  111. ],
  112. "member-access": [
  113. true,
  114. "no-public"
  115. ],
  116. "member-ordering": [
  117. true,
  118. "public-before-private",
  119. "static-before-instance",
  120. "variables-before-functions"
  121. ],
  122. "ordered-imports": [
  123. true,
  124. {
  125. "import-sources-order": "any",
  126. "named-imports-order": "case-insensitive",
  127. "grouped-imports": true
  128. }
  129. ],
  130. "prefer-conditional-expression": [
  131. true,
  132. "check-else-if"
  133. ],
  134. "prefer-while": true,
  135. "prefer-for-of": true,
  136. "forin": true,
  137. "no-arg": true,
  138. "no-bitwise": true,
  139. "use-isnan": true,
  140. "no-conditional-assignment": true,
  141. "no-console": [
  142. true,
  143. "log",
  144. "debug",
  145. "info",
  146. "time",
  147. "timeEnd",
  148. "trace"
  149. ],
  150. "no-construct": true,
  151. "no-debugger": true,
  152. "no-empty": true,
  153. "no-empty-interface": true,
  154. "no-eval": true,
  155. "no-inferrable-types": true,
  156. "no-angle-bracket-type-assertion": true,
  157. "no-shadowed-variable": [
  158. true,
  159. {
  160. "temporalDeadZone": false
  161. }
  162. ],
  163. "one-variable-per-declaration": [
  164. true,
  165. "ignore-for-loop"
  166. ],
  167. "no-string-literal": false,
  168. "no-string-throw": true,
  169. "no-switch-case-fall-through": true,
  170. "no-trailing-whitespace": true,
  171. "no-namespace": true,
  172. "no-internal-module": true,
  173. "no-unused-expression": [
  174. true,
  175. "allow-fast-null-checks"
  176. ],
  177. "no-use-before-declare": true,
  178. "no-var-keyword": true,
  179. "object-literal-sort-keys": false,
  180. "newline-before-return": true,
  181. "newline-per-chained-call": true,
  182. "one-line": [
  183. true,
  184. "check-open-brace",
  185. "check-whitespace",
  186. "check-else",
  187. "check-catch",
  188. "check-finally"
  189. ],
  190. "no-consecutive-blank-lines": [
  191. true,
  192. 1
  193. ],
  194. "prefer-const": true,
  195. "quotemark": [
  196. true,
  197. "single",
  198. "avoid-template",
  199. "avoid-escape"
  200. ],
  201. "prefer-template": true,
  202. "no-invalid-template-strings": true,
  203. "binary-expression-operand-order": true,
  204. "no-dynamic-delete": true,
  205. "radix": true,
  206. "semicolon": [
  207. true,
  208. "always",
  209. "strict-bound-class-methods"
  210. ],
  211. "triple-equals": [
  212. true,
  213. "allow-null-check"
  214. ],
  215. "typedef": [
  216. true,
  217. "call-signature",
  218. "property-declaration"
  219. ],
  220. "typedef-whitespace": [
  221. true,
  222. {
  223. "call-signature": "nospace",
  224. "index-signature": "nospace",
  225. "parameter": "nospace",
  226. "property-declaration": "nospace",
  227. "variable-declaration": "nospace"
  228. },
  229. {
  230. "call-signature": "onespace",
  231. "index-signature": "onespace",
  232. "parameter": "onespace",
  233. "property-declaration": "onespace",
  234. "variable-declaration": "onespace"
  235. }
  236. ],
  237. "space-before-function-paren": [
  238. true,
  239. {
  240. "anonymous": "never",
  241. "named": "never",
  242. "asyncArrow": "always",
  243. "method": "never",
  244. "constructor": "never"
  245. }
  246. ],
  247. "space-within-parens": 0,
  248. "typeof-compare": true,
  249. "unified-signatures": true,
  250. "variable-name": [
  251. true,
  252. "check-format",
  253. "allow-leading-underscore",
  254. "ban-keywords"
  255. ],
  256. "whitespace": [
  257. true,
  258. "check-branch",
  259. "check-decl",
  260. "check-operator",
  261. "check-module",
  262. "check-separator",
  263. "check-rest-spread",
  264. "check-type",
  265. "check-typecast",
  266. "check-type-operator",
  267. "check-preblock"
  268. ],
  269. "directive-selector": [
  270. true,
  271. "attribute",
  272. "app",
  273. "camelCase"
  274. ],
  275. "component-selector": [
  276. true,
  277. "element",
  278. "app",
  279. "kebab-case"
  280. ],
  281. "use-input-property-decorator": true,
  282. "use-output-property-decorator": true,
  283. "use-host-property-decorator": true,
  284. "no-input-rename": true,
  285. "no-output-rename": true,
  286. "use-life-cycle-interface": true,
  287. "use-pipe-transform-interface": true,
  288. "component-class-suffix": true,
  289. "directive-class-suffix": true,
  290. "no-access-missing-member": true,
  291. "templates-use-public": true,
  292. "invoke-injectable": true
  293. }
  294. }
Add Comment
Please, Sign In to add comment